It is said that after Cao Cao's defeat at Hefei and his loss in Hanzhong, compounded by handling myriad affairs daily, his mind and body were exhausted, and his old ailment, headaches, grew increasingly severe. In the winter of the twenty-fourth year of Jian'an, Guan Yu suffered defeat at Maicheng and was ultimately killed by Sun Quan. Upon hearing the news, Cao Cao felt some satisfaction, but soon worried about Sun Quan's growing power and deeply regretted not having rescued Guan Yu; thus he became disturbed and gloomy. One night, Cao Cao dreamed of three horses eating from the same trough. Waking up startled, he felt uneasy, considering it an ill omen. He summoned Jia Xu to interpret the dream, but Jia Xu hesitated and said nothing. Cao Cao did not press further, but felt that a bad omen clung to him.
By the spring of the twenty-fifth year of Jian'an, Cao Cao's headaches worsened severely. He was already bedridden and at death's door. The court officials searched far and wide for famous doctors, and thus the divine physician Hua Tuo answered the summons. Hua Tuo took Cao Cao's pulse and said that the root of his illness was deep in the brain, and could not be cured by ordinary herbal medicine. Only by first taking an anesthetic powder (mafeisan) to induce full-body anesthesia, then splitting open the skull with a sharp axe and removing the wind phlegm, could a radical cure be achieved. Upon hearing this, Cao Cao flew into a rage and suspected Hua Tuo of trying to take the opportunity to murder him. He bellowed, 'You, a mere physician, dare to be so treasonous!' 'Are you trying to assassinate me?' Without allowing any explanation, he ordered his attendants to throw Hua Tuo into prison and interrogate him under torture. Hua Tuo was finally killed in prison, and thus this generation's divine physician fell. There was no longer any good doctor in the world who could cure Cao Cao's headaches.
From then on, with no skilled physician to treat Cao Cao's headaches, the pain became unbearable. He groaned day and night, suffering endlessly. Several months later, Cao Cao knew that his lifespan was nearly over. Forcing his ailing body, he summoned the Prince of Wei's heir, Cao Pi, to his bedside and gave instructions for his posthumous affairs, saying, 'After I die, you should treat Emperor Xian of Han well, and not let him be humiliated, so that Cao's foundation can be preserved. My heart is at peace.' He also instructed all his sons and nephews to keep to their proper duties and strive to assist Cao Pi, so as to achieve great deeds. Having spoken, he closed his eyes and passed away, at the age of sixty-six. A generation's overlord, who dominated the scene for decades, his merits and faults left for later generations to judge, ultimately returned to the yellow earth and departed from the world. The court and the common people were shaken; the whole realm was shocked.