(a) The court may order premises abated under AS 09.50.210 delivered to the owner and cancel the order of abatement if the owner of the premises
(1) has not been guilty of a contempt in the proceedings;
(2) appears and pays all costs, fees, and allowances that are a lien on the premises; and
(3) files a bond with sureties approved by the court in an amount determined by the court to the effect that the owner will abate the nuisance that exists at the building or place and prevent the nuisance from being established within a period of one year thereafter.
(b) The lease of the property does not release it from a judgment, lien, penalty, or liability to which it may be subject by law.
(c) A cancellation of the order of abatement does not affect a termination of a lease or rental agreement made under AS 09.50.210(a)(1).