Answer:
The simple answer is you file a motion to annul, or an agreed motion to annul the order. The long answer is that most of these types of orders are short term and the time required to have the hearing and order issued is longer than the original order; which makes the entire process moot.