He returned to England with Cockburn in carrying the captive governor and garrison. Scott then took part in the Walcheren Campaign, commanding a gun-boat during the attack upon Flushing, and for his conduct he received a letter of thanks from Rear-Admiral Sir Richard Goodwin Keats, and on 16 November 1809 was appointed lieutenant aboard the sloop , Captain George Hewson. Scott was in her when she was wrecked off the mouth of the Elbe on 24 May 1810. In July he was appointed to the on the Lisbon station, and in October joined the ship sloop serving under Captain John Smith Cowan stationed off Lisbon, at the defence of Cádiz, and in the Mediterranean, and under Captain Clement Sneyd on the west coast of Africa until April 1812.