Quan submitted a petition pointing out that it was wrong to initially spare Yu and Dong from death and then, after some time, nevertheless put them to death. Emperor Xianzong agreed with him. Meanwhile, Quan had been serving with fellow chancellors Li Jifu and Li Jiang during this time. At this time, due to Emperor Xianzong's desire for effective governance, he granted great authority to the chancellors. Li Jifu and Li Jiang often had disagreements in their exercise of authority and often broke into arguments before Emperor Xianzong. Quan rarely took a side in these arguments and was often silent. As a result, Emperor Xianzong lost his respect for Quan, and in 813, he removed Quan from his chancellor position, having him serve just as the minister of rites. He was soon thereafter made the defender of the eastern capital Luoyang, then the minister of worship again, and then the minister of justice (刑部尚書, "Xingbu Shangshu"). He was also created the Duke of Fufeng. Previously, the officials Xu Mengrong () and Jiang Ai () had been commissioned to revise the Tang laws, but as Xu was soon transferred to another position, Jiang had to individually complete the 30-volume revision. After Jiang submitted the work, however, the emperor did not promulgate it. Quan and his deputy minister Liu Bochu () then further revised the work and submitted it in 815. In 816, Quan was made the military governor of Shannan West Circuit (山南西道, headquartered in modern Hanzhong, Shaanxi). In fall 818, he fell ill, and Emperor Xianzong issued an edict allowing him to return to his own mansion in Chang'an to recuperate. On the way, Quan died. He was given posthumous honors. His courtesy name was Zaizhi.