After being accused of embezzlement, in February 1757, he was fired and expelled from the court by Frederick III. In February 1658, during the Assault on Copenhagen, he was put in charge of the defence of Christianshavn.