Thanks for playing! Looks like you found a glitch in the boss level, the flare shot hit the trigger to spawn the boss but you were on the wrong side of the door when it closed.