Worst was when top tube cracked. Decided it better to call for a ride. Some friends a mile away were home and picked me up.
RD cable broke. I jammed a stick in the parallelogram to get it in a decent gear and rode home in "stick shift" mode. Now I carry a spare inner cable
Broken spoke, opened up brakes, rode a few miles to a shop that was on the trail and open. They replaced it while I waited and trued the wheel.