They can no longer eat but they are still very mobile and move through the moisture in the grass. The larvae that are then eaten by the deer will enter the adult stage in the gut and start producing eggs.
There are many different genera of parasitic worms with very similar life cycles affecting ruminants, most are host specific but some are not.
As this came from Roe Deer droppings and the morphology fits I think it may well be Ostertagia spp. but if someone has a different idea please let me know.
The photo is a composite of two photos of the same worm, it's around 850 microns long.
Edit: I forgot to mention that the sheath protects them to some extent from desiccation and temperature extremes while they wait to be eaten and is a good (but not infallible) way to differentiate parasitic worm larvae from free-swimming nematodes. The sheath is "dissolved" in the gut of the ruminant and that triggers the progression to the adult egg-laying stage.
