I'd check your Mission Control settings. Maybe even reinstall the app. Or, reboot your phone. Not much to go on in your description, but this sounds like a electronic issue, rather than a mechanical one.
Also, might try giving your battery a firm slap to make sure its is seated properly. If that fails, try removing the battery and reinstall finishing with a slap. My battery was also fussy and I learn, once got it right, leave it.
Right! I have reseated the battery several times and it does require a firm slap to seat it properly.
Last time after recharging the sport mode worked for about a minute and then cut out again. I think it’s a faulty motor since all other electric functions working. We’ll see what Specialized says.