Section 223(2) in The U.P. Zamindari Abolition and Land Reforms Act, 1950
(2)If within one month after the delivery of possession, the tenant deposits the full amount in respect of which he has been ejected, the ejectment order shall be cancelled and the possession restored forthwith to the tenant.