The phobia you are referring to is called "claustrophobia." Claustrophobia is the fear of being in enclosed or confined spaces and can extend to situations where an individual feels trapped, such as when their eyes, nose, or mouth is closed. It is not uncommon for claustrophobic individuals to experience panic attacks in situations where they feel restricted or unable to move freely.
Panic attacks associated with claustrophobia can be triggered by various situations, including being in small rooms, crowded spaces, elevators, public transport, or even situations like wearing a mask or having a close-fitting cloth around the face. Panic attacks are characterized by intense feelings of fear or discomfort, often accompanied by physical symptoms such as rapid heart rate, sweating, trembling, shortness of breath, and a strong desire to escape the situation causing distress.
If you or someone you know is experiencing claustrophobia or panic attacks related to closed spaces or situations, it's essential to seek support from a mental health professional. Cognitive-behavioral therapy (CBT) and exposure therapy are commonly used treatments that can help individuals gradually desensitize to claustrophobic triggers and manage panic attacks effectively.