Under Code of Virginia §24.2-612.2, candidates may withdraw from an election at any time, but to have their name removed from the ballot they must withdraw at least 60 days before the election.
high
legal
Statutory rule governing candidate withdrawal and ballot removal timing in Virginia.