I've actually had to do that. When I was racing back in my 20's on the little bikes I was leading a race and dropped it. Got back up and took off but the gear shifter was bent and the only way to shift it was aggressively with my hand. I finished two more laps and came in second. Was my best result the whole season.
Happiness is not a destination. It is a way of life.