If it runs and then cuts out, then runs again after a short rest my guess is it's probably low battery power . The battery symbol on the lower left side of the dash display has a small red light in it. If low battery power is the problem this small red light will flash, then eventually stay on followed by the vehicle cutting out. This tends to happen even if the green dots on the "fuel gauge" show several "dots" of power left.
You can disconnect/remove & charge the batteries without using the onboard standard charger, but the car doesn't recognise the batteries have been charged and will refuse to run until its own charging system has been reconnected and used ....no idea how/why it does this - but it happened on mine.