Anyone who does not comply will be in violation and subject to having their guns confiscated, that is how you dry up the supply, if all gun owners become criminals then you can take their guns by court order
OR you limit ammo supply. See NY and CA for now, eventually all you have is an expensive boat paddle.