"Melvin" remained with the aircraft carriers until 10 August, when she sailed north to join TF 92 in an anti-shipping sweep and bombardment of Paramushiro. With that mission completed on the 12th, she sailed east to Adak, Alaska, where she received word of the Japanese surrender, and new orders to return to Japan for occupation duty with minesweepers off northern Honshū. On 12 October, she departed for the United States, arriving at San Francisco on 4 November. At San Diego on 31 May 1946, she was decommissioned and joined the Pacific Reserve Fleet.