Cook had sailed past, naming it Doubtful Harbour because of the breaking seas and islands guarding the entrance.