Yuwen Huaji declared himself grand chancellor and effectively served as regent. He issued an edict in Empress Xiao's name, declaring Yang Hao emperor, but did not allow Yang Hao to actually exercise any imperial authorities. He soon gathered Emperor Yang's court, including his concubines and ladies in waiting, as well as officials, and began heading back northwest, toward the eastern capital Luoyang, leaving the general Chen Leng (陳稜) in charge at Jiangdu. On the way, the Xiaoguo officers Mai Mengcai (麥孟才), Qian Jie (錢傑), and Shen Guang (沈光) tried to carry out a counter-coup to overthrow Yuwen Huaji and to avenge Emperor Yang, but they only succeeded in killing the co-conspirator Yuan Min (元敏) before they were surrounded and killed.