tired of fighting his successor, cortés y larraz fled and went back to spain in 1779 where he was appointed as bishop of tortosa. he resigned in 1786 and retired to zaragoza, spain, where he died in 1787.