In 1815 he joined HMS "Boyne" the 100-gun HMS "Queen Charlotte". In the latter in 1816 he served at the Siege of Algiers and led the battering flotilla under Admiral Edward Pellew, 1st Viscount Exmouth.