Her 12th patrol, from 20 May to 5 July, was spent in the Bonin Islands area, where she made gunfire attacks on a convoy of Japanese sea trucks, leaving a small freighter raging in flames and dead in the water.