It would be really really helpful if we could unclaim structures.
The way I envision this feature would be this: You look at an foundation, use the command, and then every foundation, every wall, every ceiling, every decoration, etc. That has a contact line to this foundation is highlighted. You can then abort or confirm.
Upon confirmation, it does no longer belong to you. After that, someone else can claim the structure the same way.