Upon complying with the order of the court, the party complained of shall be discharged.