As I've done in a similar situation,I would strip out of clothing,Wring the daylights out of my clothes,beat them against dry rocks,then put my underwear back on,leaving my outer clothes to dry abit on more dry rocks,while I gather fuel for a fire,& assess my present scenario while feeding the flames & adjusting positions of drying clothes,hopefully boiling some water in something!