秦琼
In 618, Emperor Yang was killed in a coup at Jiangdu (江都, in modern Yangzhou, Jiangsu), led by the general Yuwen Huaji. Yuwen subsequently abandoned Jiangdu and advanced back north with the elite Xiaoguo Army (), approaching Luoyang. Both Li Mi and the Sui officials at Luoyang (who declared Emperor Yang's grandson Yang Tong emperor) were apprehensive of Yuwen, and they forged an alliance. When Li Mi subsequently engaged Yuwen, during a battle, Li Mi was hit by an arrow and fell off his horse. The other guards were not around, and only Qin Shubao defended and saved him, and Qin then further fought Yuwen's troops, forcing them to withdraw back to camp. After a number of battles, Yuwen could not defeat Li Mi, and therefore left the area and crossed the Yellow River north.