No doubt something is discharging the battery. When battery runs out of voltage; engine dies. Probably a wire rubbed through. You could begin by a visual search of ALL the wiring. If nothing shows, you could begin disconnecting "circuits" one at a time till you find bad wire, switch, relay. Call your dealer, they may have seen the same thing on other units and can tell you what to check first. With the engine off and key in off position. Disconnect postive battery cable. If it sparks when you touch it to the terminal, you have something drawing juice. Check PTO clutch switch. You can disconnect one wire and touch cable; if it still sparks, not that circuit. When you disconnect something and the sparks stop; you now have isolated the problem circuit.