Cooldown related problem

i joined a pug because team was empty and my friend invited me . there were already 3 people playing when i joined they told me to leave because their friends were going to join again so i left and recieved a cd of 12 hours

That is not a bug. You will get a cooldown if you leave a PUG and don’t join back.