Complex sentence: She constantly snuck out to be with him, breaking both the warrior code and the Medicine cat code and after her mentor, Cinderpelt, catches them they run away.
Split into simpler sentences: She constantly snuck out to be with him, breaking both the warrior code and the medicine cat code. After her mentor, Cinderpelt, catches them, they run away.