blackmail
A crime of threatening and harassing a person with public exposure, influencing their actions by using unfair pressure.
Usually, the perpetrator has some kind of leverage to make the victim comply (secrets, an item or person held hostage, etc).