Gunfire from the nearby shore. Because minesweepers were sent in advance of invasions, ship-to-ship combat was rare. Instead, much of the combat damage was done by air or by land, as the minesweepers prepared ports for invasion by clearing shallow waters.