Jingtai eight years (1457), acting as king. When he was in office, he wrote to the Ming court, demanding an annual increase of 3,000 stones in Mi Lu to safeguard the northern border defense. In the sixth year of Tianshun (1462), Ming Yingzong accepted the invitation of the eunuch Wang Zhong and gave a garden in Jin Jiazhuang (now Dongjinzhuang, Lingqiu County, Shaanxi Province), named "Leshan Garden", so that the neglected captaincy had a place to spend his old age.
He died in the fifteenth year of Chenghua (1479) and was buried in Longmen Mountain, Jiudaoling, Lingqiu, known as Xiyuan in history. He was wise, generous and kind all his life, with political foresight, and was also a calligrapher.