How to reset Arduino UNO without pushing reset button?

So how to software reboot MEGA then?

Depending on exactly what you want to do, use a call to location zero as in:

void(* resetFunc) (void) = 0; //declare reset function @ address 0

Or, if you want something more watchdog 'timerish', use the code I worked out to do this. I wanted to simulate a watchdog and not use up any of the other timers. It's at: Desert Home: The 2560 Board is Not So Stupid Anymore