When the general Jiang Wei urged for an assault on the Wei-controlled Didao county (狄道, present-day Lintao County, Gansu), Zhang Yi controverted, stating Shu was small and its citizens were exhausted - it was unwise to wage war continuously.
At this juncture, Zhang Yi again advised Jiang Wei to acquit the campaign and return, so the deed could be retained.