Answer:
C. personification
Explanation:
Personification is the figure of speech that promotes human capabilities and characteristics to an inanimate object or element of nature. We can see an example of this, in the excerpt shown in the question above, where the poem presents human characteristics to the ship. These characteristics are the ability to resist "every rack", the ability to be grim and daring.