It is unlawful for any person who is subject to an emergency substantial risk order or a substantial risk order entered pursuant to § 19.2-152.13 or 19.2-152.14 or an order issued by a tribunal of another state, the United States or any of its territories, possessions, or commonwealths, or the District of Columbia pursuant to a statute that is substantially similar to § 19.2-152.13 or 19.2-152.14 to purchase, possess, or transport any firearm while the order is in effect. Any such person with a concealed handgun permit is prohibited from carrying any concealed firearm while the order is in effect and shall surrender his permit to the court entering the order pursuant to § 19.2-152.13 or 19.2-152.14. A violation of this section is a Class 1 misdemeanor.
Va. Code § 18.2-308.1:6