If the owner of the building or place is not guilty of any contempt of court in the proceedings, and appears and pays all costs, fees and allowances which are a lien on the building or place and files a bond in the full value of the property, to be ascertained by the court, conditioned that the owner will immediately abate any nuisance that may exist at the building or place and prevent the nuisance from being established or kept thereat within a period of one year thereafter, the court, or judge thereof, may, if satisfied of the owner’s good faith, order the premises closed under the order of abatement, to be delivered to the owner, and the order of abatement canceled so far as the order relates to the property. The release of the property under the provisions of this section does not release it from any judgment, lien, penalty or liability to which it may be subject by law.