Jiang Wei and others followed the plan to retreat and returned safely to Shu Han. Sima Yi, hearing that Zhuge Liang had been dead for several days, clapped his hands and laughed, saying, "I could foresee his life, but not his death!" Thus, Zhuge Liang's Northern Campaigns ultimately did not succeed, yet his wisdom, loyalty, and righteousness are remembered for generations.
Now, since Zhuge Liang set out from Mount Qi, he had repeatedly campaigned north to seize the Central Plains and restore the Han dynasty. However, Cao Wei had strong troops and sturdy horses, and Sima Yi was shrewd and calculating, always holding his position and refusing to engage, confronting the Shu Han army at Wuzhang Plains. Kongming understood Sima Yi's intentions; wanting to provoke him into battle, he sent someone to deliver women's scarves and garments to Sima Yi's camp, implying that Sima Yi was as timid as a woman and dared not fight.
Sima Yi read the letter and laughed, saying, "Kongming is mocking me. I am not unaware. But the soldiers are far from home; we cannot act rashly." He then asked the messenger, "How are Zhuge Liang's eating and sleeping?" The messenger replied, "The Chancellor rises early and sleeps late; any punishment of twenty strokes or more is personally handled by him. His daily food intake does not exceed a few pints." Sima Yi said to his generals, "Kongming eats little and handles many affairs—how could he last long!" All the generals were convinced. Thus, the Wei forces held their positions even more firmly.
Kongming heard this and sighed, saying, "My innermost thoughts are all exposed to Zhongda!" From then on, Kongming felt his body growing weaker day by day, exhausted in both mind and body, often feeling dizzy. Forcing himself to endure his illness, he inspected the camp daily and deployed military affairs, yet he always felt his end was near. Suddenly one day, he felt a shock in his heart, fell from his horse, and collapsed. The generals hurried to rescue him and helped him into the tent.
Kongming said to the generals, "My life will end tonight. I want to try to prolong it; do not speak recklessly." He then ordered his attendants to set up Seven Star Lamps in the tent, and he prayed under the lamps himself, instructing Jiang Wei and others to guard outside and allow no one inside. If the main lamp did not go out within seven days, his life could be extended by twelve years. Jiang Wei strictly obeyed his teacher's orders, keeping watch day and night without leaving.