To dream of cocoons indicates that you are in need of protection and peace. It may also symbolize a great change or alteration that is occurring.
To dream that you are in a cocoon implies that you require some time to restore your mental or physical health. Your emotional state needs to be more relaxed and refreshed. Perhaps you are embarking on a new journey or making a fresh start in life.