Until 15 August, when the surrender of Japan was announced, she conducted intensive amphibious exercises in Maalaea Bay, Maui, operating with units of Transport Squadron 22.
With news of the war's end, she returned to Pearl Harbor and began loading ammunition, equipment, gasoline, trucks, trailers, and even airplanes for the occupation of Japan.
Despite continuous heavy rainfall and a rough eight-to-ten-foot surf which tossed two LCVP's high on the beach beyond retraction, Troilus unloaded cargo throughout the day.
Following repairs at Graham Shipyard, Oakland, the attack cargo ship got underway for Japan on 24 December 1945, but en route received orders diverting her to Hawaii.
On 11 April, Troilus made her last voyage under her own power, steaming up the Hudson River to moor at the Eureka Shipyard, Newburgh, New York, to remove remaining materials and to undergo preservation procedures.