The master of a ship may hypothecate it upon bottomry only for the purpose of procuring repairs or supplies which are necessary for accommodating the objects of the voyage, or of securing the safety of the ship.

SOURCE: CC § 3019.