In fall 613, Yang Xuangan thus lifted the siege on Luoyang, and headed west. On the way, however, he was tempted by the people of Hongnong (弘農, in modern Sanmenxia, Henan), who opined that Hongnong would be easily captured and could be held. Further, the governor of Hongnong Commandery, Emperor Yang's cousin Yang Zhiji () the Prince of Cai, was intentionally insulting Yang Xuangan to enrage him. In anger, Yang Xuangan put Hongnong under siege, despite Li Mi's pleas that he was endangering his campaign by proceeding slowly. Yang Xuangan put Hongnong under siege for three days but could not capture it, and therefore had to continue to head west. By this point, the Sui forces commanded by Yuwen, Wei, Lai, and Qutu had caught up to him, and were dealing him defeats, and his forces collapsed. Yang Xuangan and his brother Yang Jishan fled to Jialurong (葭蘆戎, also in modern Sanmenxia) on foot, and Yang Xuangan, realizing that they were about to be captured and not wanting to be captured, asked Yang Jishan to kill him. Yang Jishan did so, and then tried to commit suicide, but before he could die, he was captured.