On 4 July "Ransom" resumed minesweeping operations. Throughout the month she operated in the East China Sea, sweeping a total of seven mines, then, on 6 August, she retired to Leyte for overhaul and repair. Returning to Okinawa at the end of the month, she continued on to Japan with task group TG 52.4, and on 9 September began sweeping mines at Nagasaki. On 21 September, she shifted to Bungo Suido, where she swept until the end of September. During the month "Ransom" swept 73 enemy mines. "Ransom" departed Kure, Japan, for the United States 20 November. Transiting the Panama Canal 30 December 1945, she continued on to New Orleans, Louisiana; underwent pre-inactivation overhaul; and decommissioned at Orange, Texas, 3 March 1947.