There's a way to softlock yourself. I entered one of the barracks near the hole while Kerfus-Omega was following me. He ran into the door and closed it behind me. Since the door opens only one way, Kerfus keeps the door shut. I haven't found any other way to get out so I had to reload my save.