From what i can tell, in the final part during the hospibar thing, you need to be out of restraints to get in, but there is no way to get rid of them if you for example get them at the front exit in the undertow.
Really great game with lots of detail, but a bunch of bugs and softlocks, and this was the one where i didnt have a recent save to get out of, so i guess no ending for me, at least not now.