How does the sentence end?

The canary chripped frantically in the cave until she was moved to the cage because she thought the
cave was dangerous.