An appeal stays all proceedings in furtherance of the action in respect to which the decision appealed from was made, unless the zoning or enforcement official from whom the appeal is taken certifies to the Planning Board acting as the Board of Adjustment after the notice of appeal shall have been filed with him that by reason of facts stated in the certificate a stay would, in his opinion, cause imminent peril to life or property. In such cases, proceedings shall not be stayed otherwise than by a restraining order, which may be granted by the Planning Board acting as the Board of Adjustment or by the Superior Court of New Jersey on application or notice to the zoning or enforcement official from whom the appeal is taken and on due cause shown.