 When the official Cai Jingli (蔡景歷) warned otherwise, he was so displeased that he demoted Cai to the post of a commandery governor.In spring 578, the Northern Zhou general Wang Gui (王軌) thoroughly crushed Wu, capturing him.Regretting his actions, Emperor Xuan recalled Cai to the capital.