When Gaozong ascended the throne, Shangjin was created Prince of Qi (杞王).
In 682, Empress Wu pretended to be so friendly that she recalled Shangjin and allowed him to attend political affairs, along with his younger half-brother Li Sujie Prince of Poyang (鄱陽王) born by the late Consort Xiao.
After his death, they were all exiled to Xianzhou and six of them (Yizhen, Yimei, Yizhang, Yihuan, Yijin and Yisui; 李義珍、李義玫、李義璋、李義環、李義瑾、李義璲) died there.
When Shangjin's another younger half-brother Emperor Zhongzong of Tang (born by Empress Wu) held power, Shangjin was rehabilitated, and his only living son Yixun (李義珣) succeeded his title as Prince of Ze.
But in New Book of Tang, Shangjin had nine sons named Yiyu, Yijin, Yichen, Yizhen, Yixian, Yiwei, Yimei, Yigui and Yixun (李義瑜、李義璡、李義琛、李義珍、李義现、李義玮、李義玫、李義珪、李義珣), and Yiyu was created Prince of Changping.