A pair had "resigned themselves to dying" after their 4WD was washed away and they were stranded in 40-degree heat.