 In spring 578, the Northern Zhou general Wang Gui (王軌) thoroughly crushed Wu, capturing him.Regretting his actions, Emperor Xuan recalled Cai to the capital.With the people's hearts shaken by the great defeat, in fall 578, Emperor Xuan held a ceremony in which the officials reaffirmed their loyalty to the state.