Use 'hole up' when someone avoids others by staying in one place, especially when they're in trouble or need privacy. After the heated argument, she holed up in her studio for hours.
Pro Tip 2/3
Temporary Isolation
'Hole up' often refers to a short-term situation where a person stays away from others for a specific reason. He's holing up at home until he gets over his cold.
Pro Tip 3/3
Stressful Situations
'Hole up' can imply emotional distress or the need to escape from stress. She's been holing up in her room all week, studying for finals.