From Longman Dictionary of Contemporary Englishretreat into yourself/your shell/fantasy etcretreat into yourself/your shell/fantasy etcTHINK ABOUTto ignore what is happening around you and give all your attention to your private thoughts → retreat
Examples from the Corpus
retreat into yourself/your shell/fantasy etc• I retreated into my shell, being painfully shy in the first place.