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".
I think it's the 3rd one. Might be wrong though.
I think the answer would be the third option.
The answer would be the last one, leave it as is. B and C change the meaning of the sentence entirely, while A sounds unnatural and is too verbose.
Hope this helps! :)