Try getting out the other way?
There's two exits in that goblin dungeon, one leads into the sewers, and another (north side) leads into the forest.
Do you have save files for this? Its good for bug fix
By right, you should able to escort them out as long they are within the 3x3 tile of the exit, with you.