Deng Ai was promoted to General Who Guards the West (鎮西將軍) and put in charge of overseeing military affairs in the region. The reason for Jiang Wei's defeat at Shanggui was the failure of the Shu general Hu Ji to show up in time with reinforcements to assist Jiang Wei. The failure of this ninth expedition resulted in Shu sustaining heavy losses of lives and resources; the people of Shu resented and hated Jiang Wei even more. Jiang Wei wrote a memorial to the Shu imperial court, requesting to be demoted as punishment. The court approved and demoted him to the position of General of the Guards (衞將軍). However, despite his demotion, Jiang Wei was still allowed to act in the capacity of his previous appointment as General-in-Chief (大將軍).