It's actually happened to me when on a 3000 mile solo road trip, which included a mix of off-road and camping to save coin on hotels.
I only had a cooler and it was hard to maintain the ice, I probably got myself sick from food poisoning, or bad food I ate on the road between stops...
It was tough, I was feverish and I literally couldn't drive without feeling like I was going to fall asleep. I did have my own first aid and medication, and after I found a camp site to rest I realized it wasn't going to cut it.
While trying not to shit myself and/or throw-up in my 4Runner, I got back on the road and found the first hotel I could and checked in. Spend 3-4 days recovering at the cost of about $1k in hotel expenses…
I was lucky that I was close enough to a town, but I was often times out of cell coverage on the trip, but I did have a had ham radio for communications. As much as I love radio coms, it’s difficult to operate in distress, and in new areas without pre-programmed repeaters. Not only do you need a lot of practice in this method of communication, it takes time and research to find usable repeaters. For most operators it’s probably challenging enough in ideal conditions.
So what changed in to improve? Soon after that trip I bought a ARB fridge and installed a dual battery system to promote food safety, and added a Garmin InReach Mini (with SAR insurance) to my emergency kit. Generate a contingency plans before a trip, and inform friends and family of their rolls in an emergency before the trip. My ham radio now has APRS so my wife can keep tabs on me at all times, and as a backup method my GPS location to the InReach system.
Am I going to hit the panic button because I got a stomach bug, probably not, but it made me think of what happens if I was in a scenario where I wasn’t able to help myself. These days it’s unlikely I would make the same run solo… but at the time I wanted an adventure and I got it.