There is no universal maritime law that states a captain must go down with their ship. Such a broad statement would not apply to every scenario, such as a situation where a vessel is sinking but all crew members and passengers have already been rescued.