Definition
to retreat to a location where you deliberately avoid leaving and seek solitude, free from outside interruptions
In the hustle and bustle of the city, she often shuts herself away at home to find some peace.
To focus on his writing, the author chose to shut himself away in a small cabin.
After going through a tough time, he decided to shut himself away in his bedroom, distancing himself from friends and social activities.