Qiao Daoqing, seeing his spells repeatedly broken, knew he was no match and conjured black mist to flee. Gongsun Sheng refused to let him go; he chanted a spell again, pointed his finger, and a golden light shot into the sky. The black mist was seized as if by an invisible hand, dragged back to the ground, revealing Qiao Daoqing's disheveled figure. The Liangshan troops swarmed in, bound him, and escorted him to the central command tent.
Song Jiang saw Qiao Daoqing bound, personally stepped forward to untie him, and advised, 'Sir, you are a man of the monastic path. Why aid the rebel Tian Hu in his evil deeds and bring suffering to the people? If you are willing to turn back and submit to the court, join us in acting on behalf of Heaven, and together support the state, the nation will surely grant amnesty for your crimes.' Qiao Daoqing Seeing Gongsun Sheng's formidable magical powers and hearing Song Jiang's sincere words, his heart wavered greatly. Gongsun Sheng also stepped forward and said, 'Master Huanzhen, we are of the same school, both cultivators of the Way. Why not let go of your obsession, join our righteous cause, and avoid needless slaughter?'
Moved by the words of the two men, Qiao Daoqing finally changed his mind, bowed to the ground, and expressed his willingness to surrender. Later, he achieved merit and withdrew from public life; he did not stay long at Liangshan Marsh but instead returned to monastic life, sought the Dao and immortality, and left worldly bonds behind. With Qiao Daoqing's surrender, Tian Hu's army lost all its sorcery and their morale plummeted. Song Jiang took the opportunity to launch a fierce assault with his forces. Tian Hu's army collapsed like a landslide, and in the end Tian Hu was captured alive by Song Jiang's army, presented as a trophy to the capital, and the Hebei region was pacified.