I had this same issue on my 750, turns out it was a loose connection to the stator. So sometimes I could ride for hours no problem, and others I'd get 5 miles down the road and stall out. Then if I let it sit for a while, the battery would "recharge" itself and I could get going again. But if it stalls and you still have power, then nevermind.