 As a result, The Emperor demoted him to a commoner.He was imprisoned in Fengyang for seven years until the Hongwu Emperor restored his title.The Emperor ordered him went to Yunnan for defend with his brother-in-law, Xu Pu ().