The True Confessions of Charlotte Doyle - Chapter 4 6. What metaphor is being made about the ship?

In "The True Confessions of Charlotte Doyle" Chapter 4, a metaphor is being made about the ship. It is described as a "floating coffin." This metaphor portrays the ship as a place of danger and potential death, highlighting the hazardous conditions and uncertainty that Charlotte finds herself in aboard the ship.