Entering the camp and leaving without resting restores your characters as if you were fully rested. Not sure if this is intended but i find it extremely game breaking as it avoids any sleep related game advancement.
A work around if this bothers you is fast traveling out of the camp, i hate camp scumming it really takes the fun out of the game if you can restore all your stats at a moments notice between every fight.