I hate when my mower stares at me...like it knows something I don't and it thinks I'm an idiot.
But seriously, sounds like either you didn't fix the wiring properly or the switch is out of adjustment. Your mower thinks their's nobody in the seat and that you've fallen off, so it shuts down.