If the proceeding is an action either at law or in equity and a bond is given and the costs therein are paid, the premises shall be released at the end of one year from the date of the service of the temporary injunctional order, if in an equity case, or from the closing of the premises, if in a criminal case. In the meantime, and in either form of action, the premises where such nuisance was kept and maintained shall be regarded as being under a restraining order of the court, a violation of which will subject the violator to punishment for contempt. The release of the property under the provisions of this section shall not release it from any judgment, lien, penalty, or liability to which it may be subject under any statute or law.
N.D.C.C. § 42-02-05