An animated movie from 2006, Scooby-Doo! Pirates Ahoy! begins with a working ship being attacked and sunk by ghost pirates in the Bermuda Triangle.
There is just one survivor, Rupert Garcia.
Meanwhile, at the same time, the gang are on a cruise with Fred’s parents.
They pick up Garcia and are then attacked by the ghost pirates themselves.
As always, there’s a human explanation behind everything and the mystery is solved in the end.
Movie pages here.