Fail Safe

I was wondering if there is any functionality to ensure that the Arduino can execute something to reset the board (in case, for some reason, it jumps to a unexpected address location and starts executing there) and ensure execution of the sketch again. I am thinking something on the lines of an exception or vector or something similar.

Thanks for the help.

you can use the watchdog (timer). This will reset the mcu and thus restart the sketch...