Later, Maria Luisa and her family were forced to flee Florence on 27 April 1859, with the outbreak of a revolution inspired by the war by France and Sardinia-Piedmont against Austria as part of the unification of Italy. The family took refuge in Austria. At the end of the war, her father Leopold II abdicated on 21 July and his son Ferdinand succeeded him as Grand Duke.