The static walled building's shell becomes a shield made from the walls of the cave; inside can be seen Jacob, still standing and watching. Perhaps he controls all this with eyeblinks or swallows, which we can't see so don't know.
I used my programming skills to reshape the cave into a shield.