If you still haven't taken care of the witch, you might be able to get out just by following the path you took to get in.