For two years Gneisenau lived in retirement at his estate, Erdmannsdorf in Silesia, but in 1818 he became governor of Berlin, as successor to Kalckreuth, and member of the Staatsrath (Council of State). In 1825 he was promoted to General Field Marshal. In 1831, soon after the outbreak of the Polish insurrection of 1830, he was appointed to the command of the Army of Observation on the Polish frontier, with Clausewitz as his chief-of-staff. At Posen he was struck down by cholera and died on 24 August 1831, soon followed by his chief-of-staff, who fell a victim to the same disease in November.