If, during a voyage, the ship’s supplies fail, the master, with the advice of his officers, may compel persons who have private supplies on board to surrender them for the common want, on payment of their value, or giving security therefor.

SOURCE: CC § 2039.