Seven months after Zhang's death, Qi Jiguang was transferred from the company commanders in the market town to the company commanders in Guangdong. Although the official position remains unchanged, it has actually lost its important position in defending the imperial city. In this regard, many people went to Beijing to petition and begged Emperor Wanli to leave Qi Jiguang. Because during the more than ten years of guarding Yuji Town in Qi Jiguang, "Hu people dare not go south to herd horses", the bonfires inside and outside the Great Wall have not burned for a long time, and Qi Jiguang's achievements are well known, but Emperor Wanli refused to agree.
Before Qi Jiguang left, the citizens went on strike, and the people were secretive, "climbing the car with tears in their eyes and staying for a long time". Chandi, the Ministry of Qi Jiguang, also felt this situation and wrote a poem: "Yuanmen loves Yan Hui, but I haven't seen Chen Hu for sixteen years. Who moved the standard to the ridge table? Huang Tongbai is crying in the sky. "
In the twelfth year of Wanli, the movement of liquidating Zhang reached its climax, and the sober Qi Jiguang wrote to abdicate, hoping to preserve the honor of the soldiers in this decent way. However, Emperor Wanli didn't even give this face, so he announced that Qi Jiguang was Zhang's henchmen and dismissed him.
The old soldier who fought for his country for decades had to return to his hometown in humiliation and sadness.