Cao Cao led his army back to Xuchang, and all his advisors congratulated him. Cao Cao said: 'Although the Yuan clan has fallen, Yuan Shang and Yuan Xi still survive. If they lead the Wuhuan troops south, it will certainly become a future disaster.' Thus he discussed a northern campaign against the Wuhuan. Many generals advised Cao Cao to postpone, citing the bitter cold of the northern lands and the perilous roads. Only Guo Jia strongly urged a swift attack, saying: 'The Wuhuan are unprepared now. If we catch them off guard, we can defeat them in a single battle. If we wait until they join forces with the Yuan clan, it will be difficult to deal with them.' Cao Cao accepted his advice and resolved to launch the northern campaign.
It is said that after Liu Bei fled from Xinye, having nowhere to go, he led his troops to seek refuge with Liu Biao in Jingzhou. Liu Biao had always respected Liu Bei and treated him generously. However, Liu Bei often felt the frustration of living under another's roof. During a banquet, seeing his thigh had grown fat, Liu Bei lamented that he was wasting his days and could not serve the Han dynasty, shedding tears. Liu Biao asked the reason, and Liu Bei told him the truth. Liu Biao deeply agreed and often wanted to give Liu Bei an important position, but his wife Lady Cai and Cai Mao, fearing Liu Bei's prestige, repeatedly slandered him, causing Liu Biao to remain indecisive.
Liu Bei, knowing that the Cai brothers had many allies, took his leave of Liu Biao, intending to go elsewhere. Liu Biao insisted on keeping him, so he assigned Liu Bei the small county of Xinye to garrison as a buffer. Liu Bei had no choice but to accept the order.
It is said that Cao Cao led his great army northward, but encountered heavy floods along the way, blocking the road. Tian Chou proposed a strategy: lead the army through a small path out of the Longsai Pass and strike directly at the Wuhuan's lair. Cao Cao followed his advice. The Wuhuan were caught completely off guard and were greatly alarmed. Cao Cao personally braved arrows and stones, urging his troops to attack fiercely. The Wuhuan chieftain Tadun was slain, and Yuan Shang and Yuan Xi were utterly defeated, fleeing to seek refuge with Gongsun Kang, the governor of Liaodong. Gongsun Kang, fearing Cao Cao's military might, beheaded Yuan Shang and Yuan Xi and presented their heads to Cao Cao. Thus the Yuan clan was completely eradicated, and the entire north fell under Cao Cao's control.
On his triumphant return to Xuchang, when Cao Cao reached the Yi River, he composed a poem: 'An old warhorse in the stable still yearns to gallop a thousand miles; a hero in his twilight years still harbors grand ambitions.' Elated with success, what hero under heaven could rival him?