trapped
When a character cannot exit a given area, they are trapped. They may be stuck, restrained, bound, cornered, or pinned, or there may simply be no way out - as long as they can't leave, they're trapped.
Trivial or consensual situations do not constitute being trapped. If a character could restore their ability to leave with little to no effort, such as using a safe-word or breaking a window, they're not trapped in any meaningful way.
Not to be confused with tripping a trap_(contrivance). A tripped trap can do a variety of things, not all of which involve trapping the victim.