Did it work? Why was it scrapped? What jurisdictions still have exile?
It created countries elsewhere, or added to already existing cultures, therefore completely failing to punish as the word defines.
Some communities still practice it. Some, like Mennonites, decree “shunning” of apostates, which means not only that fellow believers cut off all interaction and communication with a person, but so does the family.