I’ve used shunning in discipline with my children. My daughter was 7 and stole a dollar off of her brother’s dresser. I explained that I would take care of her, feed her and provide for her, but I didn’t associate with thieves. After a couple of hours of me and the rest of the family giving the silent treatment she got the point and even would go out of her way to make sure everyone understand she didn’t take something.
That the whole family participated told her that stealing wasn’t okay with anyone and not you alone. Well done!