Point being, he left a hole in the defensive perimeter, same effect if he had gone to sleep.
I AM surprised that the fact that he left wasn't discovered before daybreak, since there should have been a sergeant of the guard walking the perimeter to check that guys were awake.