The episode title is the same as Chapter 19 in the first book of the series.
In the book, Moiraine is not injured and would never have left Rand, Matt and Perrin. However, she does tell them that she would kill them herself before she allowed the Dark One to have them.
In the books, the company rested in Baerlon where Moiraine and Lan had assumed identities. They may have been able to stay there awhile, but a Fade found where they were staying, forcing them to flee the city. Several Fades and fists of Trollocs were hot on their tail, forcing them to take refuge in Shadar Logoth. Moiraine was initially against going to Shadar Logoth, but relented when the situation became dire.