后来他随着李成栋反正，历任光禄卿、户部右侍郎，兵部左侍郎，永历二年晋兵部尚书。
Later, he supported Li Chengdong in the retaliation, was then appointed Count of Guanglu, Right Assistant of Finance, Left Assistant of Military and promoted to Chief of Military in Yungli second year.