In the US we call banning talking to a particular individual as a TRO - a temporary restraining order.
I agree with you but it is better to leave this person alone and find another to talk to.