Well, something sank the pirate ship. It seems strange to me that the pirates would sink their own vessel.
It's possible that the pirate's boat just broke loose while they were boarding or on board the M. Alabama. Those speedboats are not very big, and they would bounce around quite a bit if tied off to the stern of something as big as the M. Alabama.