Figure 13. Even though it is still capable of movement, this hornworm larva, is already "dead." The white capsules on its back, frequently mistaken for "hornworm eggs" by many gardeners, are actually Hymenopterous wasp pupae of the Braconidae family. These wasps fed on the hornworm while in the larval stage and are now pupating into adults. When home gardeners find hornworms in this stage, they should let them be as they aren't capable of more damage. And when they emerge, the adult wasps will hunt for other hornworms to parasitize.
Credit: University of Florida