Operating throughout the remainder of the Mexican–American War with the Home Squadron in the Gulf of Mexico, "Falcon" took part in the amphibious operation at Vera Cruz from March 9–25, 1847. A force of over 10,000 troops was landed to attack the city and its guardian castle of San Juan de Ulúa, and while the squadron fired upon the seaward fortifications, a naval battery of six heavy guns was landed to aid the troops. The garrison displayed a flag of truce on the 25th when the city walls were breached, and four days later American troops took possession of the city and the castle.