this happens all the time and life has taught me to only give a fuck if it happens in the workplace because each time it's happened, it ended up being the most obvious warning sign that my manager/supervisor/team-lead were trying to drive separation between my colleagues and I to make sure that my departure wouldn't have a social impact.
they last time it was employed against me it ended up backfiring fantastically because my colleagues were either experienced enough to realize what was happening (after they reached to me directly to find out why i wasn't attending) and/or my team lead was too inexperienced to pull it off successfully. i ended up with a gift card and suddenly showered with verbal praise for 5 minutes by entire c-level suite broadcasted to the entire company at its last meeting. lol
my colleagues' threats to quit because of this manipulation was the first time i experience work place collectivism and those colleagues ended up being the ones who introduced me to socialism.