If this user has been harassing you, and you shadow-ban them, all their activities on your content will be invisible to everyone except themselves.

They will not know that they have been shadow-banned, and the goal is that eventually they will get bored while having caused no harm, since nobody saw what they posted.