How does a caddisfly pupa leave its cocoon?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

To leave its cocoon, a caddisfly pupa uses its functional mandibles to bite its way out. Once it has exited the cocoon, the pupa then swims or crawls to the water's surface to complete its development, utilizing its hair-fringed middle pair of legs for movement.12