"Leander"s next commander, from August 1815, was Captain William Skipsey. She underwent a repair and refit at Woolwich between August 1815 and February 1816, after which she went out to the Mediterranean under Captain Edward Chetham. She was active in the Second Barbary War, as part of the British fleet under Admiral Edward Pellew. She took part in the bombardment of Algiers on 27 August 1816, firing 3,680 round shot and sustaining casualties of 17 men killed and 118 wounded.