 However, Emperor Yang soon restored him, and in 613, when Emperor Yang launched a second campaign against Tuyuhun, Yang Yichen again served under Yuwen in an attempt to attack Pyongyang, but when news arrived that Yang Su's son Yang Xuangan had rebelled near the eastern capital Luoyang the campaign was abandoned.Afterwards, with much of Sui territory engulfed in agrarian rebellions, Yang Yichen was sent against the rebel leader Xiang Haiming (向海明), who had claimed imperial title near Chang'an, and Yang Yichen defeated Xiang.In 616, Emperor Yang sent Yang Yichen against another major rebel leader, Zhang Jincheng (張金稱), and Yang, after lulling Zhang into a sense of security, defeated him and forced him to flee, allowing another Sui general, Yang Shanhui (楊善會), to capture and execute Zhang.