On the outbreak of the Russo-Swedish War of 1788 he served with distinction as admiral of the fleet, especially at the battles of Hogland (7 June 1788) and Öland (26 July 1789). On the latter occasion he would have won a signal victory but for the remissness of his second-in-command, Admiral Liljehorn.