In 1940 the Kriegsmarine requisitioned her as an accommodation ship. In 1942 she served as the set for the German propaganda feature film Titanic. In 1945 she evacuated almost 26,000 German soldiers and civilians from East Prussia before the advance of the Red Army.