When an appeal is taken from an interlocutory or final judgment granting, dissolving, or denying an injunction or writ of mandate, the court in its discretion may suspend, modify, restore, or grant an injunction or writ of mandate during the pendency of the appeal upon such terms as to bond or otherwise as it considers proper for the security of the rights of the adverse party.
Id. Fam. Law. P. 813