If the animal is allowed to survive after spinning its cocoon , it will release proteolytic enzymes to make a hole in the cocoon so that it can emerge as a moth .

If the animal is allowed to survive after spinning its cocoon , it will make a hole in the cocoon when it exits as a moth .
