It was like turning the key off.Is the engine stopping like turned the key off or lugging and dying?
From what you describing with separate battery I suspect lugging and dying. If yes to the lugging then you have other issues like mechanical binding in clutch or deck if belt is connected. Possibly bearing going bad in clutch, etc.
If deck is connected could be engine running a little lean or governor is a little sluggish on response, etc.