How to not get caught out as a healer?

TBF, it sounds like I was also an idiot by trying to treat it like a Dungeon and stay within 40 yds of him rather than staying mid and helping us win any fight there so we can safely escort him to the base.