When Norway was invaded by Nazi Germany on 9 April, "Kommandøren" was not in the areas immediately captured by the invading Germans. She was thus able to continue her service in the Sognefjord for much of the month of April 1940. On 9 April 1940, "Kommandøren" was en route to Bergen, but was stopped at Høyanger and ordered to Sogn to assist in the mobilization of Norwegian Army units to oppose the Germans.