They can buy back shares and keep them in treasury, that's correct. But they need cash to buy them back first and it only actually results in a positive flow of money if they are able to sell it at a profit later.
And when they issue more, then this initial offering again (of new stock).
And when they issue more, then this initial offering again (of new stock).