Due to epitaxial strain, BiFeO3 (BFO) thin films exhibit a morphotropic phase boundary with coexisting rhombohedral-like (R-like) and tetragonal-like (T-like) phases. The T-like phase, distinguished by its large c/a ratio and giant polarization, has garnered extensive interest. In this work, by quenching an epitaxial mixed-phase BFO thin film grown on a LaAlO3 substrate, a pronounced transition from the R-like to the T-like phase is observed. This transition is concomitant with improved phase structure stability under the force field induced by an atomic force microscope tip. PeakForce Quantitative NanoMechanics mapping reveals that the T-like phase exhibits a higher Young's modulus than the R-like phase, signifying an overall enhancement in the mechanical hardness of the BFO film. This work introduces a simple but powerful approach to manipulating the fraction of the T-like phase in the mixed-phase BFO films, presenting prospects for enhancing their performance and expanding their application range in advanced techniques.