It could be an isolator switch or a bad earth connection - usually as you engage your cutting deck it will press a small switch - just check the wiring system through and remake all earthing connections - What is the make of your mower
Adrian
April 2009