No going back to the refugio, but you could stop at the closest refugio before town or the closest after often only a few km .
You will not be able to leave your backpack though so if you want a day sightseeing in Burgos or Leon it is probably best to find a cheap pension/hostal for the second night.
William