By 1141 Yue Fei's campaigns had pushed the invading Jin dynasty back far enough that a full reconquest of northern China, lost a decade earlier, looked genuinely possible. That was precisely the problem for the Southern Song court's peace faction, led by the chancellor Qin Hui, who judged a negotiated peace with the Jin, ceding the north, safer for the dynasty than a war Yue Fei might actually win. Yue Fei was recalled from the field, stripped of command, and within a year imprisoned and executed on fabricated charges of treason, a judgment even the court's own investigating official is recorded as having refused to fully endorse, reportedly telling Qin Hui the case rested on nothing more than "perhaps it is so" (mo xu you).
Rehabilitation began astonishingly quickly, within two decades, once the political climate that had required his death had passed, and by the Ming and Qing dynasties Yue Fei had become one of the most widely venerated figures in Chinese folk religion, a general worshipped less for any specific miraculous power than as the standing embodiment of zhong, loyalty, defended past the point of personal survival. The theology of his cult is unusually explicit about its moral logic: his temple beside West Lake in Hangzhou pairs a seated image of the general with kneeling iron statues of Qin Hui, his wife and two collaborators, cast so that visitors can strike or spit on the traitors' figures while paying respects to Yue Fei himself, a physical arrangement that has stood, replaced and repaired across centuries, for the specific purpose of keeping the injustice of his death as present as his loyalty.