I don't think I've ever read you should poke them with an inanimate object. Not gonna say if it's "right or wrong" as there is little right or wrong in this department. But I would personally assume that would lead to a greater sense of startling, and possible future cage defensiveness/aggressiveness. Getting used to your hand, especially as something that's going to try to grab it but not kill it, is a pretty important part of early snake behavioral development.
Again, there's absolutely no "right or wrong" in this situation, just personal opinion and relative experience. I should warn (as I'm sure you probably already know, but hey, obligatory warnings eh) that you should definitely be careful if poking your snake with *anything*, especially at a young age.
Finally, glad to hear he was ok, just sleeping. Many times I've thought Plissken and Isis were dead when they were sleeping. Sort of a system shock getting used to something that will spend so long (especially during daylight hours) just laying there comatose like.