Walking away?
Any “non-verbal way to get someone to stop talking to you” is prone to be seen as very rude and could elicit a violent reaction and assuming they are not respecting verbal attempts to get them to stop talking to you I don’t imagine non-verbal would be more effective.