on 8 may 1805, ohme was promoted to lieutenant colonel in the artillery, and returned to norway as a colonel and head of the artillery corps on 8 february 1809. at the outbreak of the dano-swedish war of 1808-1809 he was put in charge of a reserve brigade in the area between grønsund and fetsund, and later during the war transferred to the infantry. after the war in 1809, he became interim commander at akershus fortress, and later commandant at fredriksten from the 13 february 1810. he was on 25 january 1812 also promoted to major general.