The main character is known as an antagonist
Personification
The ship has human-like characteristics. The sentence is talking as if the ship has the brains to decide it can sigh and hesitate.
You can remember by seeing that the word "person" is in "personification".
Uh he probably got frustrated show us the paragraph for more clues
To paste copied text you have to click ctrl and v