Barrie took command of the frigate in June 1806, serving initially off the French coast and then in the Mediterranean.
On 1 May 1811 with two other ships, he entered the Gulf of Sagone, Corsica, sank three ships and destroyed its fortifications.