If the court is not in session the officer making the arrest shall cause the person to enter into a bond, with surety, to be approved by the officer, conditioned that he or she personally appear in open court whenever his or her appearance shall be required, to answer such contempt, and that he or she will pay to the plaintiff all his or her damages and costs occasioned by the breach of the order; and in default thereof he or she shall be committed to the jail of the county until he or she shall enter into such bond with surety, or be otherwise legally discharged.
RCW 7.40.170