I had this problem!!!!!!!! Car switched off fine, then hour later the headlights wipers and radio turned on, started engine, everything reset, turned engine off, got out, locked car, then realised my engine was still running!!! Its to do with the brake lights. water had got in one of the rear brake lights (cant remember which one) and played around with the electrics. Did the engine stop when you pressed the brake pedal?