There is a man poking a long stick up towards the ceiling.
The man is holding a stick.
Poking a long stick implies holding a stick
A man poking a long stick is holding it.
The man in sentence one is poking a stick upwards. To poke means to hold an object and thrust, which would mean that the man is holding the stick.