A free mod for Mount & Blade II: Bannerlord, by Future Hendrix. This mod adds a configurable relations penalty for leaving a kingdom. If you have any settlements, you typically lose 40 ties with each clan head in your current kingdom when you depart. If not, you would typically lose 20.