The ship returned to service on 12 July, and provided naval gunfire support for operations in Aitape and Cape Sansapore during July and August, Morotai in September, and Leyte Gulf in early October. "Shropshire" was reassigned to Task Force 77, and participated in the Battle of Surigao Strait on 25 October. The cruiser was involved in the Battle of Luzon during January 1945, during which she was attacked by two kamikaze aircraft: one narrowly missed, while the second was shot down by close enough for debris to hit "Shropshire". "Shropshire" fired in anger for the last time during the Corregidor landings, then briefly returned to Australia.