"Beagle", "Juniper", and participated in the Siege of San Sebastián (7 July - 8 September 1813) as part of the fleet under Captain George Collier assigned to help Sir Arthur Wellesley's campaigns in Portugal and Spain. "Beagle" had one man dangerously wounded in the taking of the battery on Santa Clara Island. Later, the seamen from the squadron, under Smith's command, maneuvered 24-pounder guns from "Surveillante" up the steep scarp of Saint Clara Island to assemble their own battery facing San Sebastian, which allowed them to silence the guns there. Smith was slightly wounded while being in charge of the seamen on shore engaged in taking the French battery on Saint Clara Island and in the subsequent operations. In 1847 the Admiralty authorized the issuance of the Naval General service Medal with clasp "St. Sebastian" to surviving participants in the campaign.