engine cuts out while driving....


was driving on the freeway and when I got off while slowing down the radio and all engine shut down for like one sec. this happeded twice in a row at 30 sec interval . I think this was a total shutdown since the clock reset itself no engine light just abs esp not working message .once I stopped the 2 messages were gone . what can this be??
gl320 2007
Thanks



