Later in the year, however, when Cui Ning was made the military governor of Shuofang Circuit, Zhenwu was merged back into Cui's command, and Emperor Dezong recalled Hun to serve as a general of the imperial guards, as one of the two generals in charge of security at Chang'an. In 783, after Li Xilie, the military governor of Huaining Circuit (淮寧, headquartered in modern Xuchang, Henan) rebelled, Li Xilie forged letters from Hun, hoping to falsely implicate Hun in the rebellion. Hun defended himself against charges when the letters were intentionally left for imperial authorities to find, and Emperor Dezong, believing him, not only did not punish him but awarded him with a horse and silk, and made him part of the army staff against Li Xilie. In fall 783, soldiers from Jingyuan Circuit (涇原, headquartered in modern Pingliang, Gansu), at Chang'an to be deployed to the east, mutinied when they became angry that they did not get rewards from Emperor Dezong. Emperor Dezong was forced to flee to Fengtian (奉天, in modern Xianyang), and the mutineers supported the general Zhu Ci, who had been forced into retirement due to a rebellion by his brother Zhu Tao in 782, as their leader. Three days after Emperor Dezong arrived at Fengtian, Hun and his family members arrived at Fengtian as well, and it was said that due to his presence, Emperor Dezong's followers became calmed. Emperor Dezong made Hun the military governor of the Jingji (京畿, i.e., Chang'an and vicinity) and Weibei (渭北, i.e., the region north of the Wei River) regions, in charge of the troops that had followed Emperor Dezong to Fengtian. Subsequently, Zhu Ci claimed the title of emperor of a new state of Qin, and he put Fengtian under siege. It was said that during the siege, Hun and Han Yougui (韓遊瓌) had to fight day and night without rest to fight off the Qin troops. With the siege continuing and Qin forces sieging Fengtian on three sides, but Fengtian's defenses holding, Emperor Dezong, apparently to reward Hun, added the Weinan (渭南, i.e., the region south of the Wei River) region, as well as Jin (金州, in modern Ankang, Shaanxi) and Shang (商州, in modern Shangluo, Shaanxi) Prefectures to his responsibility.