When Wei Yan refused to follow Zhuge Liang's final orders and submit to Yang Yi's command, Fei Yi pretended to help Wei Yan make new arrangements for part of the Shu army to remain behind and continue with the campaign, while the rest would return to Shu. Fei Yi then wrote a letter about the new arrangements, got both of them to sign it, and told Wei Yan that he would read out the letter to all the officers later. He also told Wei Yan: "I will go back and explain your point of view to Chief Clerk Yang. The Chief Clerk is a civil official who knows little about military affairs. He will definitely not oppose the new arrangements."