Kan. Stat. Ann. § 34-268
A warehouseman loses his lien upon grain: (a) By surrendering possession thereof; or (b) by refusing to deliver the grain when a demand is made with which he is bound to comply with the provisions of this act.
L. 1931, ch. 194, § 46; July 1.