In this scene from Star Wars: Attack of the Clones, Obiwan tells Anakin that he would be expelled from the Jedi Order if he puts his personal feelings ahead of his duties.
Padme falls from ship after it is hit by lasers.
Anakin: Padme! (to pilot:) Put the ship down.
Obiwan: Anakin, don't let your personal feelings get in the way. (to pilot:) Follow that speeder.
Anakin: Lower the ship.
Obiwan: I can't take Dooku alone. I need you. If we catch him, we can end this war right now. We have a job to do.
Anakin: I don't care. (to pilot:) Put the ship down.
Obiwan: You will be expelled from the Jedi Order.
Clearly there are some transgressions so great that the Jedi Council will expel somebody from the order. What happens to expelled Jedi?
Are they left alone to do as they please? That seems unlikely since as powerful Force-users, they can become very dangerous.
Are they killed? That seems contrary to Jedi values.
If the transgression was a crime, are they turned over to law enforcement? I doubt many law enforcers could arrest and hold a Jedi.
Does it depend on how powerful the Jedi is?
Does it depend on how bad their transgression?
I am not asking about the twenty Jedi who did not commit any transgressions, but voluntarily left the Order, such as Count Dooku. I am asking about those left involuntarily.
Nor am I asking about the fate of any surviving Jedi after the Order was destroyed by the Sith.
I have only seen the movies, so if this is answered in other canon sources, just provide answers from those sources.