What happens when a state secedes?

to leave a group