In 1790 he conducted a raid against Paldiski (Rogevik). He distinguished himself in 1790 at the naval Battle of Reval and the Battle of Viborg Bay. During the following years he led ships against English pirates in the North Sea.
He was sent in 1801 to fight alongside the United States Navy in the Mediterranean during the First Barbary War.
In 1808 his ships were sent to blockade Gotland in order to repel the Russian invaders. His last military action was against Denmark and France in 1813, when he helped Swedish forces capture Vorpommern.
In 1815 he was appointed a minister, but returned to the navy in 1818, and resigned in 1828.