In January 1940, he left the post as commander of Kurzeme Division and in June (two days after the Soviet occupation), he went to Germany with his family. When Germany initiated war with the USSR in 1941, he returned to (Reichskommissariat Ostland), Latvia, where he held several high posts in the German-made Latvian Self-Administration.