I think that might be something akin to EarthBound’s infamous Shattered Man Glitch. It’s an engine issue caused by dying while status effects are turned off. If it IS like the Shattered Man Glitch, the room should still be fully loaded and you might be able to just leave, although the cutscene might mess things up.