Yeah, there's all sorts of videos of black nears nosing around people's yards and the person, usually a woman, comes out and politely asks them to leave.
And then the bear leaves. Without throwing a hissy fit. Without getting all up in it's feels. Without making threats of any kind.
It just leaves.