There is a special type of node called slasher that can submit proof of your voting on a different chain (your vote is signed by you, so it could be verify that you sign something not on the current chain), then you lose your stake on the chain. Supposedly both chain should have their own slasher nodes, so eventually you will lose your stake on both chains.
Don't cite me on the details, but that is the idea