Who would have thought that heaven would not comply with human wishes; that night suddenly a great wind arose and rain poured down in torrents. The fire in the valley was extinguished by the heavy rain. Sima Yi took advantage of the chaos to break out of the encirclement and escape. Seeing this, Zhuge Liang looked up to the heavens and sighed: « Plans lie with men, success lies with Heaven! I am unable to overcome fate!»
From then on, Liang and Sima Yi again faced each other at Wuzhang Plains. Zhuge Liang rose early and slept late, attending to every matter personally; all the affairs of the army, both great and small, were decided by himself alone. As time went on, worn out by overwork, Liang fell gravely ill and lay in his tent, knowing that his end was near.
Forcing himself despite his illness, Liang summoned Jiang Wei, Yang Yi, and others into his tent, secretly gave them a sealed plan, and ordered them to act according to the plan after his death, instructing them not to announce his death and to withdraw the troops slowly. He also made arrangements to deal with Wei Yan's rebellion to prevent future trouble. His words were earnest and sincere, as he entrusted all matters after his death; his loyal heart could be seen by the sun and moon.
That night, Zhuge Liang observed the celestial signs and saw a great star falling, knowing that his death was near. He repeatedly urged Jiang Wei and the others; after speaking these words, he died in the army at Wuzhang Plains, at the age of fifty-four. A later poet composed a eulogy for him: « His achievements overshadowed the three kingdoms, his fame was established by the Eight Formation Diagram. The long star fell at midnight, his remaining plans secured the Central Plains.»
The Shu army followed his last instructions, kept his death secret, and slowly withdrew. Upon hearing that Zhuge Liang had died, Sima Yi was overjoyed and immediately led a great army in pursuit. When they reached a certain place, they suddenly saw under the great banner of Shu Han, Zhuge Liang sitting in his chariot, holding a feather fan and wearing a silk headdress, calm and composed.
Sima Yi was greatly shocked and terrified, thinking that Zhuge Liang had not died and that this was a plan to lure the enemy. He urgently shouted: «Zhuge Liang is not dead! I have fallen into his trap!» So he reined in his troops and retreated. His generals did not understand and asked: «Why should a dead man be feared?» Sima Yi replied: «It is not that I fear him, I fear his strategies!»
A later poet composed a eulogy saying: «Dead Zhuge can drive away the living Sima Yi; truly a brilliant strategy!»