You're close to freeing your friend; go through all the hallways in the maze and look in all the rooms. Kill the enemies that will try to kill you.