as a result , when he completed his two-hour watch before going to bed , he pulled out his manual of military rank and tried to find out just how much trouble he might be in by making a fool out of himself .