From the surface, it's easy to say just follow the guide cables the divers have no doubt installed. Doing that in person is quite different.
The other issue is these are some calorie deprived kids probably not in shape for an extended workout. Maintaining body heat and fighting a not-particularly strong current for 10 hours is taxing for very physically fit people who haven't been food deprived. And who aren't scared out of their minds and burning through oxygen.
Someone asked my cave instructor, if you lose the line how long should you search for it? The rest of your life, he replied.
There's an overview of various line markers at https://www.tdisdi.com/cave-diving-directional-and-non-direc..., and a great photo of line arrows and a gold line / jump reel connection on Wikimedia Commons: https://commons.wikimedia.org/wiki/File:Line_arrow.jpg
The trick is, the permanent arrows indicate the closest "exit" to the system, so if there's a 1000m cave connecting two freshwater springs, then at the 500m mark you would usually encounter two back-to-back arrows, one pointing to each exit. The trick is, if you haven't personally explored both exits, you can't be certain that they're both navigable. So if you're 750m into that system, lose visibility, and need to get out by feel, you have to find the nearest arrow and then blindly swim in the opposite direction from what it says is the exit. It's... "fun."
Also I read an accident report of some divers who survived a silt out condition, they spent a lot of time carefully figuring out what direction they should follow the rope out to exit the cave in places where it has been wrapped around a stone a few times to anchor it.
you could pass along the cable holding the carabiner in one hand, not slowing you down
For some reason reading this made me shiver in fear. I don't usually visualize scary stuff when I read it, but this did it. I know I would be scared to death if it were to happen to me.
...the trick is what happens when you don't have the guideline in your hand, or something goes wrong with your equipment, or someone's tanks run out, or a diver gets lost, etc. But you train for that, too.
Lost in the dark and running low on air, they would claw at the limestone ceilings of the tunnels they were trapped in until the flesh of their fingers was worn away. Even then they’d keep scratching with their exposed bones.
Never developed an interest in cave diving, myself.
The Thai rescue will use some of these techniques but it's whole different set of challenges they have to deal with; being in a silt out with an untrained person who hasn't eaten or slept much for almost two weeks
Sadly Exley died a few years later trying to get into the record books for "deepest cave dive" which goes again "Going too deep"