Back when I got my toe stuck between my shifter and an old foundation while upshifting.

Toenail has since healed completely. If you're riding on a reservoir bed with old foundation bricks sticking out everywhere, pay attention to when you point your foot downwards to shift.