during the swedish campaign against norway in 1814, fredriksten fortress came under siege, and suffered under heavy bombardment. but the fortress held out and was not surrendered to the swedes until after the convention of moss. ohme was later again offered the position of commandant at fredriksten, but turned it down.