Qiao Daoqing saw that his magic was repeatedly broken, and knowing he could not win, he conjured up a black fog and attempted to flee. Gongsun Sheng would not let him go; he recited another incantation, pointed his finger, and a beam of golden light shot into the sky. The black fog, as if grasped by an invisible hand, was forcibly pulled back to the ground, revealing Qiao Daoqing's disheveled figure. The Liangshan troops rushed forward, tied him up, and escorted him to the central army tent.
When Song Jiang saw Qiao Daoqing bound, he personally stepped forward to untie him and urged, 'Sir, you are a man who has left the secular world; why trouble yourself to aid the rebel Tian Hu in his evil deeds and bring suffering to the people? If you are willing to turn from your wrong path and submit to the imperial court, to uphold justice with us and support the state, the nation will surely grant you pardon.' Seeing Gongsun Sheng's formidable magic and hearing Song Jiang's sincere words, Qiao Daoqing felt deeply shaken. Gongsun Sheng also stepped forward and said, 'Master Huanzhen, you and I are from the same sect, both cultivators of the Way. Why not let go of your obsession, join our righteous cause, and avoid unnecessary slaughter?'
Moved by their words, Qiao Daoqing finally had a change of heart, prostrated himself on the ground, and expressed his willingness to surrender. Later, having achieved merit, he withdrew from affairs and did not stay long at Liangshan Marsh; instead, he once again left the secular world, seeking the Dao and immortality, ending his worldly ties. With Qiao Daoqing's surrender, Tian Hu's army lost all its sorcery, and morale plummeted. Seizing the opportunity, Song Jiang led a fierce attack; Tian Hu's army collapsed like an avalanche, and he was ultimately captured alive by Song Jiang's forces and presented to the capital, bringing peace to the region of Hebei.