Yes, and both can leave. Both may not think they can, but they can.
By the same logic if you are held at gun point & asked for all your money, you can choose to not give it up at the risk of getting shot. That does not make giving it up voluntary.
This all of course assumes you agree that money you earn from your own work belongs to you. You could try to argue all money earned/value created belongs to the group.