I actually had one medium-sized worm crawl back up and escape from the corner of the snake's mouth while he was feeding on worm #2, but in your case, I'd say that it was just contracting muscles and the snake was just forcing the worm further dow.

Nevertheless, as one word, is also correct.