 In November 1811 he was put on disability but in June 1812 he was recalled to active service and made commandant of the 25th military division.During the invasion of Russia, he became for a short time the military commandant of Moscow.In 1813 he commanded a cavalry corps at the Battle of Leipzig.