Briefly after the new year 646, Emperor Taizong ordered, in addition to Zhishi and Tian's troops, for troops to be mobilized under the generals Li Daozong the Prince of Jiangxia, Xue Wanche (), Ashina She'er (), Song Junming (), and Xue Guwu (), to defend against Bazhuo's attack, which Bazhuo called off after reaching the Great Wall and realizing that Tang forces had been mobilized. In turn, in spring 646, Zhishi and Qiao Shiwang counterattacked, defeating Bazhuo and forcing him to flee, throwing Xueyantuo into a state of confusion.