Stop in for a cup of coffee

What's up with a motor that will start and "run" as long as the key is turned, but when you let it go, it dies?