Well, I'd say what happened is the wind and waves pushed her off the reef. In the process the bottom got a lot of holes in it, so the ship very quickly sank once free of the reef. What a miserable fate for all those poor people. Sinking in frigid waters at night in a storm is not a nice way to go.