Complex sentence: However, if he did not want to do this he could choose to become a Taoist priest or Buddhist monk, that way she prevented him from marrying someone else.
Split into simpler sentences: However, if he did not want to do this, he could choose to become a Taoist priest or Buddhist monk. In this way, she prevented him from marrying someone else.