What command would I use to de-occupy a holding in an event? I am going to try to fix the unsiegeable trade post bug with an event, but I can't figure out how to de-occupy a holding in an event.
After an exhaustive search through the files and the wiki, I think there isn't any command to directly end (or create) an occupation. Which means I cannot fix the bug with a mod. Does anyone have any ideas for how to de-occupy holdings at the end of a war that the engine doesn't de-occupy properly?