During the English Wars, Oxholm became leader of a regiment (Søndre Sjællandske Landeværnsregiment – the Regiment of Southern Zealand in English) in the militia created in 1801. This militia participated in the Battle of Køge, where Oxholm together with a handful of soldiers barricaded themselves in the cemetery at Herfølge, a small town in the middle of Zealand. After a brief and intense battle, they were forced to surrender and were taken prisoner.