The chrysalis hibernates in a cocoon .
The pupa hibernates in a cocoon .