Of the two options, choose the one that is a subordinate clause.

Until the rides shut down

We journeyed through the haunted ship.