My first reading I saw that the rescue imperiled the captain, had to look again to that the captain was rescued from peril.