After the larvae of "Glyptapanteles" emerge, the caterpillar takes up position near the cocoons of the pupae, arches its back, and ceases to move or feed. It will occasionally spin silk over the pupae. However, when disturbed, it begins to thrash violently. This behavior is to strike at and repel possible predators of the pupae, so improving the survival odds of the wasp pupae. Only about one in twenty non-parasitized caterpillars responded in this fashion. In 60% of cases, the parasitized caterpillars successfully warded off these potential predators. No longer eating, the affected caterpillar eventually dies.