Jiang Wei and others retreated according to the plan and returned safely to Shu Han. Sima Yi clapped his hands and laughed loudly only several days after hearing that Zhuge Liang had died, saying, 'I could predict his life, but I could not predict his death!' Thus, Zhuge Liang's great enterprise of northern expeditions ultimately did not succeed, yet his wisdom, loyalty, and righteousness have been celebrated for a hundred generations.
It is said that ever since Zhuge Liang left Mount Qi, he repeatedly launched northern expeditions, aspiring to take the Central Plains and restore the Han dynasty. However, Cao Wei's troops were strong and horses robust, and Sima Yi, deeply calculating and strategic, persistently held his ground without engaging in battle, confronting the Shu Han army at Wuzhang Plains. Kongming, fully aware of Sima Yi's intention, sought to provoke him into battle. He sent a messenger to Sima Yi's camp delivering women's clothing and headdresses, intending to mock him for being as timid as a woman and unwilling to fight.
After reading the letter, Sima Yi laughed and said, 'Kongming belittles me; I am well aware of this. But our generals and troops are on a long campaign and cannot act rashly.' He then asked the messenger, 'How are Zhuge Liang's meals and sleep?' The messenger replied, 'His Excellency the Chancellor rises early and sleeps late; he personally handles every punishment of twenty strokes or more. As for what he eats, he consumes no more than a few measures of grain a day.' Sima Yi said to his generals, 'Kongming eats so little and handles so many affairs—how can he last long?' All the generals were convinced. Thus, the Wei army became even more steadfast in their defense.
Upon hearing this, Kongming sighed and said, 'All my innermost thoughts have been exposed to Zhongda!' From then on, Kongming felt his body growing increasingly weak, mentally and physically exhausted, often experiencing dizziness. Forcing himself to carry on despite his illness, he inspected the camp daily and deployed military affairs, yet he always felt that his end was approaching. Suddenly, one day, he felt a jolt of alarm in his heart, slumped over his saddle, and fell to the ground. The generals rushed to help him and carried him into his tent.
Kongming said to the generals, 'My life will end tonight. I wish to try to extend it; do not speak of this rashly.' He then ordered his attendants to set up seven star lamps inside the tent and began to perform a ritual prayer beneath the lamps, instructing Jiang Wei and others to guard outside and allow no one to enter. If the main lamp did not go out within seven days, his lifespan could be extended by twelve years. Jiang Wei strictly obeyed his teacher's orders and remained by his side day and night.