You don't
You can, however, trap her in another part of the caves
Make her follow you around to the elevator.