We report the direct experimental observation of the semiconductor-metal transition in single-wall carbon nanotubes (SWNTs) induced by compression with the tip of an atomic force microscope. This transition is probed via electric force microscopy by monitoring SWNT charge storage. Experimental data show that such charge storage is different for metallic and semiconducting SWNTs, with the latter presenting a strong dependence on the tip-SWNT force during injection. Ab initio calculations corroborate experimental observations and their interpretation.