the shot found its intended target and a moment later the front mast of the closest spanish ship listed sharply to one side and then slowly collapsed over the left side of the ship with the sails dipping into the sea .