A temporary restraining order is a temporary order of a court to preserve current conditions as they are until a hearing is held at which both parties are present. A restraining order may be issued in a divorce matter to prevent taking a child out of the county or to prohibit one of the parties from selling marital property. Also, a person who is a victim of harassment may seek a restraining order from the court. The restraining order can prohibit the harassment.