Hiding is a way of helping shy cats cope with being afraid or anxious. If your cat disappears to a cupboard or under a bed when a stranger enters the house, try to leave them to it – let friends and family know not to seek them out of their hiding place too.
Often, cats also like to hide somewhere up high. This allows them to look out onto the surroundings and keeps them calm when they might be feeling worried.