This was happening to me where it started and like 5 minutes in it would just shut off. At first I thought it was something with the engine but it wasn’t. What I did was just change the regulator and it fixed it because it was just running off the battery from before. Hope this helped.
So I have a Husqvarna yth2148 and there has been some problems with the battery and charging. So anyways the first problem was the regulator then I changed that and it helped.. but it didn’t. (Before I changed the regulator it just ran on the battery) So now it charges itself but it doesnt...