Naval career
Cederström was assigned the rank of arklimästare on 3 August 1779 and was promoted to acting sub-lieutenant on 5 June 1781. In 1784, he began serving as the harbourmaster of the Swedish colony of Saint Barthélemy and on 15 August 1785 was promoted again to sub-lieutenant. Cederström served in the Russo-Swedish War of 1788–1790; in reward for his performance at the Battle of Hogland on 17 July 1788, he was promoted to lieutenant on 21 July. Coming to Gustav III's attention, Cederström carried out a raid on Baltischport on 17 March 1790. Leading the frigates Ulla Fersen and Jarramas, Cederström forced the surrender of a Russian fort and burned a large quantity of naval stores. In reward for his victory, he was promoted to major on 26 March 1790. Cederström also served in the battles of Reval and Vyborg Bay, distinguishing himself in both engagements.
On 25 February 1793, Cederström was promoted to lieutenant colonel. He was appointed as a member of the Committee of the Navy's Equipment on 22 April 1794 and promoted again to colonel on 21 June 1795. During the French Revolutionary Wars, Cederström escorted Swedish merchant convoys in the North Sea in 1796 and 1798. He was arrested following his second escort mission for allowing British warships which heavily outgunned Ulla Fersen to detain the convoy he was escorting for inspection. Tried and sentenced to death, Cederström was eventually pardoned and restored to his former position. On 6 April 1801 he was appointed commanding officer of the High Seas Fleet (Örlogsflottan) and three days was promoted to counter admiral. In the same year, as part of the First Barbary War, Cederström was sent with a squadron to the Mediterranean to prevent further attacks by Barbary corsairs. Following 20 months of inconclusive operations, including the First Battle of Tripoli Harbor on 16 May 1802, he signed a peace treaty with the Regency of Tripoli in 1802.
In 1808, Cederström took command of a squadron tasked with protecting the Swedish coast against a possible Franco–Danish invasion. On 22 April, Russian forces occupied Gotland as part of the Finnish War, and on 11 May a relief force under Cederström left Karlskrona to retake the island; upon its arrival five days later, the Russians capitulated and were allowed to evacuate the island. Cederström was subsequently appointed as the island's vice governor, overseeing efforts to raise troops and construct defences. He was promoted to vice admiral on 29 June 1809 and served as the military commander of Gotland from 13 August 1810 to 24 September 1811. In 1813, Cederström was appointed as the Swedish navy's commander-in-chief, participating in the capture of Western Pomerania from Franco-Danish forces. He then led the Swedish navy during the Swedish–Norwegian War of 1814. Cederström was appointed military commander of Guadeloupe in 1814 and made adjutant general of the Navy on 5 August 1815. Cederström became a minister (statsråd) on 8 August 1815 and was appointed as the governor of Stockholm on 30 July 1816.
Cederström was promoted to admiral on 24 November 1818 and resigned his governorship on 15 December. He received the title of count on 11 May 1819 and was promoted to överamiral on 1 June 1820 before being appointed as a Lord of the Realm on 5 November 1821. Cederström was promoted to general admiral and appointed commanding officer of the Naval Artillery Regiment (Sjöartilleriregementet) on 7 October 1823. He was also appointed commanding officer of the Royal Majesty's Fleet, which in line with Cederström's proposals was formed by merging the High Seas Fleet and archipelago fleet. In this post, he became embroiled in a controversy over the sale of decommissioned warships to the Patriot governments via British trading houses, which led to his resignation in 1828. Cederström became an honorary member of the Uppsala County Agricultural Society on 28 January 1829.