If the board has BIOS protection (not virus protection), after you exit the BIOS and reboot, re-enter the BIOS. The BIOS settings should already be back to their previous settings. It's like having two BIOS, one in primary (protected) and refreshes the other.
On one of my boards, this protection is called 'Boot Block' protection. Here's text from my board manual:
"The boot block acts as a backup in case your BIOS fails to boot the system. If the jumper is set to the ON postiiton, this would allow sthe Boot Block to refresh it BIOS code at the same time you flash a new BIOS.
Note: if the Boot Block is 'unlock' (jumper ON) and if failure occurs during a new BIOS Flash [power failure or anything that prevents completing the flash successfully], you run the risk of rendering ayour entire system un-bootable. The "backup" protection of the Boot Block will be lost." -- So always hook up a UPS to your PC when flashing BIOS's.
Other boards by different manufacturers have different names and implementations of BIOS protection [not virus protection] or backup. Check you motherboard manual.