A depositary must deliver the thing to the person for whose benefit it was deposited, on demand, whether the deposit was made for a specified time or not, unless he has a lien upon the thing deposited, or has been forbidden or prevented from doing so by the real owner thereof, or by the act of the law, and has given the notice required by Section 1825.
Ca. Civ. Code § 1822