 Barrie then commanded a number of ships during the French Revolutionary and Napoleonic Wars.In 1804 he had been promoted Captain commanded "Brilliant" at 24-guns and in 1806 he went to "Pomone" at 38-guns.On 5 June 1807, he attacked a convoy of seventeen ships, sank three men-of-war, and captured fourteen other warships and store ships.