If a thing deposited is in actual danger of perishing before instructions can be obtained from the depositor, the depositary may sell it for the best price obtainable, and retain the proceeds as a deposit, giving immediate notice of his proceedings to the depositor.
Ca. Civ. Code § 1837