War of the Pyrenees
Miró surrendered governorship at the end of 1791 to return to Spain and serve in the Ministry of War. He served as Field Marshal from 1793-1795 in the war with the French Republic. He died from natural causes during the War of the Pyrenees at the battlefront in June 1795.