Any person, who after the publication of a proclamation by the Governor, or who after lawful notice to disperse and retire, resists or aids in resisting the execution of process in any county, city or town declared to be in a state of riot or insurrection, or who aids or attempts the rescue or escape of another from lawful custody or confinement, or who resists or aids in resisting a force ordered out by the Governor or any sheriff or other officer to quell or suppress an insurrection or riot, shall be guilty of a Class 5 felony.
Va. Code § 18.2-413