you can disconnect the battery, or pull the ecu fuses (2 of them, main & backup) and wait a few minutes.
if you don't want to wait, disconnect the positive lead from the battery and touch it (the + lead) to the ground post, so the (+) and (-) leads are together. DO NOT TIE THE POSTS TOGETHER. that is what you do when you want to have july 4th early in your garage/driveway.
that trick also will reset the radio when codelocked...as in, you put the wrong code in three times and now it is making you wait a couple hours to try again. it lets you enter the code again right away. however, it does NOT bypass code entry.
note: doing this will erase your radio stations, clock, and most everything else that is user set as well. pulling just the ecu fuses will reset the ecu only, leaving your presets safely saved.