On 26 January 1794 he was appointed commander of the fortress of Landrecies. Here his rank was made permanent on 12 April 1794. He led the defense of the fortress during the Siege of Landrecies (1794) by the Dutch States Army under the Hereditary Prince of Orange. He had to surrender the fortress on 30 April 1794 after heavy bombardment, which reduced the fortress to rubble. He was made a prisoner of war and was eventually transported to Hungary. He was exchanged as prisoner of war on 27 November 1795.