As He Qi gained greater fame from his successful subjugation of restless local tribes in the Jiangdong region, he started participating in some battles against Sun Quan's rival,
Cao Cao, the warlord who controlled the central government of the Eastern Han dynasty in
its final years. In 215, He Qi fought in the
Battle of Xiaoyao Ford when Sun Quan led his forces to attack the heavily fortified
Hefei, which was defended by Cao Cao's general
Zhang Liao and others. Sun Quan's forces suffered a devastating defeat at the hands of Zhang Liao and his colleagues in the battle and barely managed to retreat alive. During the battle, one of Sun Quan's officers,
Xu Sheng, apparently lost his long spear in the midst of the fighting. He Qi found Xu Sheng's spear by coincidence and returned it to him. In 216, Cao Cao granted You Tu, a local leader in Poyang Commandery (鄱陽郡), the seal of authority and instigated him to start a rebellion. Three counties in Poyang Commandery responded to You Tu's call. In response, Sun Quan ordered He Qi and
Lu Xun to suppress the rebellion, which they did and killed several thousands of rebels. After that, He Qi remained at the border along the
Yangtze River between Sun Quan and Cao Cao's territories to guard against any enemy invasion. After the
end of the Eastern Han dynasty in 220, He Qi continued serving under Sun Quan, who became an autonomous ruler of his
Eastern Wu regime in southern China. On the other hand, Cao Cao's son,
Cao Pi, usurped the throne from the
last Han emperor and established the
Cao Wei state in northern China. Between 222 and 223, the Wu and Wei forces clashed at the
Battle of Dongkou. The Wei forces led by
Cao Xiu defeated the Wu navy led by
Lü Fan which had just experienced a natural disaster and lost several ships. Just when the Wu forces were worried about Cao Xiu's impending attack, Wu reinforcements led by He Qi showed up at Dongkou. Since He Qi arrived behind schedule, his fleet was not affected by the storm which destroyed many of Lü Fan's ships. At the same time, as He Qi had a penchant for extravagance, his ships were all finely decorated and his troops were equipped with the best weapons. Cao Xiu was shocked when he saw He Qi's grandeur display of his refulgent fleet. Believing that the Wu fleet was more powerful, Cao Xiu ordered the Wei forces to retreat, thus sparing Lü Fan and his remaining forces from almost certain doom. When Sun Quan heard about this incident, he promoted He Qi to the position of General of the Rear (後將軍). In June 223, Jin Zong (晋宗), a Wu military officer, defected to Wei and seized control of Qichun County (蕲春縣) through a mutiny. Sun Quan ordered He Qi and
Hu Zong (胡綜) to lead troops, with
Mi Fang, Xianyu Dan (鮮于丹) and Liu Shao (劉邵) as their subordinates, to attack Jin Zong and retake Qichun County. However, they decided to retreat due to the scorching weather and after failing to take Qichun County. At the time, Jin Zong lowered his guard, so the Wu forces seized the opportunity to launch a surprise attack. In the ensuing battle, He Qi captured Jin Zong alive and retook Qichun County. He died of illness in 227. ==Family==