This is an old thread with no conclusion but I had a similar problem - run a while and then shut off. My problem was water in the gas. After trying many things, including changing the electric fuel pump, etc, etc. I emptied the gas tank and found a pint of water in it. The fuel gauge leaked around the plastic cover and the mower was parked outside. New gas solved the problem.