Agoraphobia is a fear of being in situations where escape.
Many people assume agoraphobia is simply a fear of open spaces, but it's actually a more complex condition. Someone with agoraphobia may be scared of:
travelling on public transport
visiting a shopping centre
leaving home