When a claimant holds any security for his or her demand, it may be allowed, conditioned upon the claimant surrendering the security or upon the claimant exhausting the security; it shall be allowed for the full amount found to be due if the security has been surrendered, or for any remaining amount found to be due if the security has been exhausted.
K.S.A. 59-1303