In my answer to the question What defenses are there against being summoned by the Gate spell? the question came up whether or not someone inside Otiluke's Resilient Sphere can teleport away.
The spell states:
Nothing - not physical objects, energy, or other spell effects - can pass through the barrier, in or out, though a creature in the sphere can breathe there.
It's unclear whether or not this blocks teleportation and interplanar travel. I believe not, or at least not interplanar travel; spells that do block this usually state so, such as Forcecage. Other commenters had a different opinion, which is why I'm asking this question.
I think it ultimately boils down to:
Does teleporting or plane shifting out of Otiluke's Resilient Sphere count as "a spell passing through the barrier"?
I'm not entirely sure whether plane shifting and teleporting would be treated differently here, but I believe they might.