Walking by, Kakashi cannot just pass by his arch nemesis in such a prone position. Thus, with a cautious glance either way down the hall, he retrieves his wand from his sleeve and with a complicated flourish, he utilizes some obscure nonverbal spell to stick Gai's pants to the bench he's sitting on, and yet another to increase the man's saliva production so that by the time he awakes, he'll be stuck in a pool of his own drool. Allowing himself a secret, triumphant little grin, the Hatake moves on before he's found out.
no subject