Although this caterpillar was immobile for quite some time, slowly he started to move his rear end off of the stem to the side. And then, a small black pellet was ejected from his butt. A caterpillar's poo is called frass.