Sima Yi's vanguard troops reached the city walls. Seeing such a scene, they reported back to Yi. Yi laughed, not believing it, and went himself to the city walls to observe. Sure enough, he saw Liang smiling radiantly, burning incense and playing the zither, with the city gates wide open and a few people sweeping the ground. Yi was greatly suspicious and said to his attendants, "Liang has always been cautious and never took risks. Now that he acts like this, there must be an ambush. If I rashly advance, I will fall into his trap. Quickly retreat!" Sima Zhao said, "Could it be that Zhuge Liang has no troops and is deliberately putting on this act?" Yi scolded, "Stop talking! Liang's schemes are endless; we must be on guard. Retreat quickly!" Thereupon he led the army to retreat.
Now, after Sima Yi withdrew twenty li, scouts reported that there were no ambush troops in West City and that Zhuge Liang had already led his army to evacuate. Yi then realized he had fallen for the trick and sighed deeply, saying, "I am not as good as Zhuge Liang!" So he urgently led troops in pursuit, but it was already too late.
After Liang returned to his tent, the officers asked, "Sima Yi is a famous general of Wei, deeply versed in strategy. Prime Minister, why did you take such a risk today?" Liang laughed and said, "He expected that I, being cautious all my life, would certainly not take risks; seeing this appearance, he suspected an ambush and therefore retreated. I am not taking a risk; I simply knew his mind." All bowed in admiration.
On that day, Ma Su and Wang Ping were brought in under guard. Liang entered the tent and saw Ma Su bound at the steps, feeling deeply pained. Liang said, "I have previously said that Jieting is a strategic location and you should camp on the main road. You did not listen to my words, acted on your own, causing my plan to fail and the army to achieve nothing. Why?" Ma Su bowed his head and confessed his guilt, weeping, "Su's crime cannot be atoned even with a thousand deaths. I beg the Prime Minister, for the sake of past friendship, to spare Su's life!" All the generals also pleaded for leniency. Liang wept and said, "Military law is impartial! If I do not execute Ma Su, how can I command the obedience of the troops?" Thereupon he ordered the executioners to take him out and behead him. After Ma Su died, Liang wept, saying, "I am not weeping for Ma Su, but for one who knew my heart!" Then he submitted a memorial to the Later Ruler Liu Shan, demoting himself three ranks as a punishment.