 In 1939–1940, he became Lithuanian Minister of Finance, but after the first Soviet occupation he fled to Klaipėda, which had been reoccupied by Germany in 1939.In 1941, the Nazis arrested him and he was sent into exile.At the end of 1946, Galvanauskas became head of the Supreme Committee for the Liberation of Lithuania.