After the defeat of Prussia in the Battle of Jena–Auerstedt in 1806, he had to leave the family and went with his regiment to Kołobrzeg. From there, he took part in several military raids and made friends with Joachim Nettelbeck and Karl Wilhelm Ernst von Waldenfels, who died mortally wounded in his arms after storming the Wolfsbergschanze.