Unless I'm mistaken, the Elder Brain has Plane Shift (like all illithids) as a sort of escape option in case things go South, and I would expect it to shift out if it was clearly in danger.
As written, it's a fairly weak enemy for a group of mid to high evel adventurers and in some ways worse...