(a) The sheriff shall have the authority to close any location holding a malt beverage or wine license for a period not in excess of 24 hours in the event there shall occur on the premises any violation of law, breach of the peace, disturbances or altercation resulting in violence, or other occurrence which is contrary to the public health, welfare, safety or morals, when in the judgment of the sheriff such action is necessary to protect the public health, welfare, safety or morals. (b) The sheriff, with the concurrence of the governing authority, may close any location holding a retail beverage license in the event of disorders which threaten the public health, welfare, or safety for the duration of the emergency.