 For the next month, she conducted training exercises with submarines off the Perlas Islands in Panama Bay.In mid-July 1945, "Bangor" set course for San Pedro, California, to prepare for duty in the Western Pacific in the war against Japan, but the war ended on 15 August 1945 while she was in drydock at Seattle, Washington.Her repairs were completed early in September 1945.