Instead of issuing a warrant, the court may order the warrant to be stayed upon motion of the defendant, if the defendant enters into an undertaking to the state, in such sum and with such surety as the court may direct, under the condition that either the defendant will discontinue the nuisance or that, within a time limited by the court, and not exceeding six months, the defendant will cause the nuisance to be abated and removed, as either is directed by the court. Upon the defendant's failure to perform the condition of the defendant's undertaking, the surety shall be forfeited, and the court, upon being satisfied of a default, may order the warrant forthwith to issue, and action may be brought on the undertaking.
Iowa Code § 657.6
2019 Acts, ch 59, §223