The master of a vessel may sell the cargo if the voyage is broken up beyond the possibility of pursuing it, and no other vessel can be obtained to carry it to its destination, and the sale is otherwise absolutely necessary.
Ca. Harb. and Nav. Code § 816