No matter what has ever happened due to a mechanical failure of my bike, I've always been able to pull over and get my bike onto the sidewalk to fix the problem.
Included are
a popped tire
chain falling off the sprocket or chainring
shoelace tangled in crank