“...you might lose your job by attending”
It’s called “quashing one’s First Amendment Rights”. I’d be looking for a good attorney.
Iran “encouraged” millions of government employees to attend Soliemani’s funeral. For the anti-Ayatollah demonstration, they had government snipers.