“Don’t trespass, don’t get shot.”
In most places, shooting someone for simple trespass is not legally justifiable.
Doesn’t matter if you were the trespassee and you’re dead.