Here he threw himself heart and soul into the cause of the
French Revolution, and served in the
French Revolutionary Army under
Charles François Dumouriez and
Charles Pichegru in the campaigns of 1792 and 1793, and was soon promoted to the rank of
brigadier general. In 1795, when Pichegru overran the
Dutch Republic, De Winter returned with the French army to his native country. The new regime now utilized the experience he had gained as a naval officer by giving him the post of adjunct-general for the reorganization of the
Batavian Navy. In 1796, he was appointed vice-admiral and commander-in-chief of the Batavian navy. He spared no efforts to strengthen it and improve its condition, and on 11 October 1797 he ventured upon an encounter off
Camperdown with a British fleet under Admiral
Adam Duncan. After an obstinate struggle, the Batavian navy was defeated, and de Winter himself was taken prisoner. He remained in England until December, when he gave his parole and was released. His conduct in the Battle of Camperdown was declared by a court-martial to have nobly maintained the honour of the Batavian flag. ==Diplomatic career==