Ditleff had returned to Norway by the time Nazi Germany invaded and occupied Norway but was able to escape to Sweden, where he joined the Norwegian legation there.