I did something similar, ran into her cage, convinced to tieflings to go away but I didn’t realize at first you can use a ranged weapon to free her (yeah I’m that noob lol) so I went away to search for crates to climb on. As soon as I left the area the quest was completed, she was no longer there.
As I understand it, she freed herself and you will find her quite later on to join you (after mountain pass) - assuming you convinced to tieflings to not kill her, in that case she’s not lost, you’ll have another chance.
I personally reloaded a previous save to free her myself.