Make it illegal.
Don't worry about it.
People would be breaking into each others houses to sell them.
Or, more likely, they would make more guns to compensate.
Also, obviously you need to ban the manufacture of such weapons before you offer to buy them back.