A warehouseman loses his lien upon goods:
(a) By surrendering possession thereof, or
(b) by refusing to deliver the goods when a demand is made with which he is bound to comply under the provisions of this chapter.
History —Feb. 21, 1918, No. 9, p. 22, § 29.