"Alnitah" continued her routine of transporting cargo and personnel throughout the Pacific theatre of operations into late July 1945. The ship departed Saipan on 28 July, and shaped a course for the west coast of the United States. During her homeward voyage, Japan capitulated in mid-August ending World War II. After a two-day visit en route at Pearl Harbor, Hawaii, the cargo ship arrived at San Francisco, California, on 21 August, and received voyage repairs before the vessel resumed action on 25 September. She was subsequently assigned to Magic Carpet duty, which involved shuttling American military personnel from various points in the Pacific back home to the United States.