We now see Jack's death/absorption as a portal in blood, the hotel knows it has him since it knows he cannot figure a way out (it has his mind) it bleeds him as Jack physically dies. Danny has correctly understood the bleeding vision. He's seen the future through his mother to plan for this moment (he is currently in the maze executing his plan).