Prince of Dai
In 618, Murong Shun was accompanying Emperor Yang at Jiangdu (江都, in modern Yangzhou, Jiangsu), when Emperor Yang was killed in a coup led by the general Yuwen Huaji. Murong Shun subsequently returned to the Sui capital Chang'an, which was then under the control of the rebel general Li Yuan the Prince of Tang, who had declared Emperor Yang's grandson Yang You the Prince of Dai as emperor (as Emperor Gong).