She left together with her friends.

Literal

She [topic-は] friends [together with-とともに] departed.

とともに is a more formal alternative to と一緒に, meaning 'together with.' 立ち去った (たちさった, 'departed, left') is a compound verb from 立つ + 去る, more formal than 出て行った.