Oh the walk of bike shame. That sucks. Hopefully it was level ground or downhill & good weather. I've had my battery go completely dead, with no kick-start, on a 1-way steep uphill in traffic, at 35C/95F in the sun, when I have full black gear on. That's a whole lot of sweaty, miserable walk of shame. With the bum ankle it couldn't have been much better.
Good to hear that another rider stopped to help, and that you managed to keep the bike right-side up, that makes a world of difference.
Francis