Can the bailor or the bailee terminate the contract whenever they want?
Yes, either the bailor or the bailee can terminate the contract at their discretion, as long as the termination is not done at an inappropriate time.