In 1796, a year after the Batavian Revolution, he was given command of the 2nd Brigade of the Batavian army, based in Arnhem. During the Anglo-Russian invasion of Holland in 1799, this brigade was part of the Batavian 1st Division under the command of Herman Willem Daendels. On 21 August 1799, he was injured in battle.