system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars] If Jedi broke with the Order's doctrine were they expelled? If so, what happened to them?

This is regarding the Old Jedi Order prior to it's destruction.

I am somewhat familiar with Gray Jedi, both those that butt heads with the Jedi Council but still remain in the order and those that were either expelled or left the order.  I am also aware that some would fall to the Dark Side and become Dark Jedi or even Sith.  What I want to know is, say you broke with a lesser yet banishment worthy doctrine like having a wife and children on the side, like in the case of Anakin Skywalker.  

If he had been found out, what would happen to him?  Would the Jedi Order just kick him out, or make him dissolve the marriage and do penance, or what?  And if he left, then what?  Do they just let a fully trained Jedi go off and be at risk of falling to the Dark Side?
gpt
Let's step away from Anakin.

We have a Jedi. We'll call him Dick. Dick has fallen in love with, and secretly married, Jane. His best friend Bob discovers this and turns him in to the Council. They would, at that point, give Dick an ultimatum. Dissolve either his marriage or his relationship with the Jedi Order. They'd likely give him time to think about it, urging him to meditate and search his feelings.

If Dick decided to leave, they'd be very, very disappointed and possibly ask him to turn in his lightsaber before he left. They'd also make it clear that he's welcome to return if he ever changes his mind. Sure, they could try to force him to let go of her, but that would only make him resent the Order more. Plus, he'd be distracted by thinking of ways he could see Jane again.

Anakin, however, is... His is a tricky situation. Not only is he close with the Supreme Chancellor (who possesses enough political clout to force the Jedi to accept him onto the Council), not only is he married to one of the most powerful and popular women in the Galaxy, he's also the Chosen One. Destined to do great things, namely bringing balance to the Force by destroying the Sith. So he's got political power and a prophecy behind him. Funnily enough, though the Jedi would frown on it and probably try to pull him off of active duty, they don't dare let him leave and they don't dare try to force the two apart.