 After Storsveen had to flee to Sweden in 1942 and was shot and killed by the Gestapo in 1943, Øgrim continued as a central XU operative in southern Norway under Øistein Strømnæs and Anne-Sofie Østvedt.He was not exposed before the end of the Occupation of Norway by Nazi Germany in May 1945.He graduated with a cand.real.