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".
Answer:
Major Themes in “Double, Double Toil and Trouble”: Magic and evil are the major themes of the poem. The witches prepare a cauldron by adding animal bodies, foreshadowing the imminent evil. In fact, the whole text revolves around their wickedness and prophecies.
i hope this helps. have a great day