The window is present on the Material Plane, but it’s invisible, and even creatures that can see the window can’t see through it.
The window passes harmlessly out through the stern of the ship, and the rope is sheared off at the point where it meets the window. As is anyone who happens to be in the process of climbing into it when window meets bulkhead.szilard said:So what happens if you use rope trick in the cabin of a moving ship?
-Stuart
As a houserule I might be persuaded to allow the opening to be set into any suitably large ceiling surface instead of in mid-air, in which case it would move as that surface moves. But that probably causes as many headaches as it solves.Evilhalfling said:When considering the same thing - if the dimensional space moves, how moveable is it? can one character pull the space along behind them like a balloon?
what about in a wagon bed? It could open up a whole can of worms...
Fixed is much better.
The upper end is, in fact, fastened to an extradimensional space that is outside the multiverse of extradimensional spaces (“planes”). ....
The rope can support up to 16,000 pounds. A weight greater than that can pull the rope free.

(Dungeons & Dragons)
Rulebook featuring "high magic" options, including a host of new spells.