Yes. Only Gold you buy and gold from voucher will move to lobby at end of server.
If you bought n gold and finish server with m gold you will get back: min(m, n) gold
Suppose that i end up the server with 100 gold, knowing that I only bought 50 gold , how much gold did i get back?
in the other hand suppose that i bought 100 gold knowing that i end up the server with only 50 gold , what will i get ?
Does wining the server or being in 3 first places has an affect on how much gold u get back ?