Following shakedown out of San Diego, "General M. B. Stewart" sailed from San Francisco 2 April 1945 with more than 3,000 troops for Pearl Harbor. After returning to San Francisco 18 April with 1,500 veterans embarked, she made a round-trip voyage out of San Francisco from 26 April to 19 June to transport troops to Pearl Harbor; the Admiralty Islands; and Leyte, Philippine Islands. She then departed San Francisco 26 June for Atlantic operations. Reaching Norfolk 11 July, she sailed the 22d to Leghorn, Italy, where she arrived 5 August to embark troops for redeployment in the Pacific. Underway 7 August for the Panama Canal, "General M. B. Stewart" steamed for the East Coast after the Japanese capitulation and arrived 19 August to debark her passengers.