On 18 May 1814 he was promoted to lieutenant and from August 1814 until December 1815 served aboard the frigate , Captain John Bastard, off Lisbon and in the Mediterranean. From January 1817 he served aboard , the flagship of Rear-Admiral Robert Plampin at Saint Helena, and on 2 August was appointed acting-commander of the 14-gun sloop . His promotion being confirmed on 26 November 1817, he was then appointed to , finally returning to England in mid-1819. He then commanded the brig-sloop at Cork from November 1821, and the sixth-rate in the Mediterranean from February 1822.