The attack cargo ship stood out of San Francisco on 4 January 1945 to return to the western Pacific. She stopped at Pearl Harbor from 10 to 28 January before continuing her voyage west. Along the way, "Virgo" also made a visit to Eniwetok before arriving in Ulithi on 13 February where she reported for duty with Service Squadron (ServRon) 10. Her tour of duty with ServRon 10 brought a change in mission for the ship. No longer did she serve as an assault cargo carrier engaged in amphibious operations. From that point forward, the attack cargo ship served as a straight cargo carrier. In that role, she supported the Iwo Jima operation in February by replenishing warships at sea. In April and May, "Virgo" performed similar services in support of the Okinawa campaign. In May, she began a return voyage to the United States, departing Okinawa on 15 May. En route, she made stops at Ulithi and at Pearl Harbor before arriving in San Francisco on 20 June. After a month in overhaul at Moore's Shipyard, "Virgo" headed back to the western Pacific on 3 August. However, she did not resume warlike activities because hostilities ceased on 15 August, four days before she arrived in the lagoon at Ulithi. The next day, she returned to sea with Task Group (TG) 30.8 to provision the ships of the 3rd Fleet in Japanese waters. Finishing that mission early in September, "Virgo" arrived in Tokyo Bay on the 9th, a week after the formal surrender. She served as station store ship at Yokosuka for the occupation forces until 10 April 1946 at which time she headed back to the United States. The ship arrived in San Francisco on 14 May and began overhaul at the San Francisco Naval Shipyard.