Expression "Walls are closing in"

What does that expression mean?

Hard to tell precisely without context. Perhaps ‘there are fewer and fewer options’.

^^Thanks MM. That’s probably the definition I’m looking for.