An appeal stays all legal proceedings in furtherance of the action appealed from, unless the zoning administrator certifies to the board of appeals after the notice of appeal shall have been filed with such administrator, that by reason of facts stated in the certificate a stay would, in such administrator's opinion, cause imminent peril to life or property. In such case, proceedings shall not be stayed otherwise than by a restraining order which may be granted by the board of appeals or by a court of record on application, on notice of the zoning administrator, and on due cause shown.