 On 23 October 1801 Barrie received a promotion to commander, and seven months later was advanced to post-captain while commanding the 16-gun sloop "Calypso".Barrie took command of the frigate in June 1806, serving initially off the French coast and then in the Mediterranean.He captured two significant Frenchmen during this period, the adjutant general of France, Chevalier Charles de Boissi, in June 1809, and Napoleon's brother Lucien Bonaparte, in October 1810, while Lucien was attempting to escape to America from Italy.