 The Xia forces panicked and collapsed.Dou was wounded by a spear, but still fled, but when he reached the Yellow River, intending to cross, he suddenly fell off his horse.The Tang generals Bai Shirang () and Yang Wuwei (), who were chasing him, captured him and took him back to Li Shimin.