Deciding what to file. This is general information about who can ask for the different types of restraining orders.Perhaps the prototypical mandatory injunction is an order requiring the defendant to remove an improvement it has made to challenged property. The preliminary injunction (sometimes informally called a temporary injunction) stays in effect until a hearing can be held, or sometimes until after a trial. A temporary restraining order is a short-term measure in effect until the court is able to issue something more enduring, such as a preliminary injunction. What if it's an emergency? If your situation is a genuine emergency, you can request a temporary restraining order (TRO) within a few days. Management order in accordance with California Rules of Court, rule 3.728. This is called a stay or a temporary restraining order. An injunction (sometimes referred to as a restraining order) is a court order that tells one person to stay away from and not contact another person.