I saw someone posted this on Facebook and lot of people commented a word/phrase for that sort of situation. Basically someone does something to you but makes you think you are crazy in a sort of manipulative way. I can’t find the post anywhere now and I forgot what word it is.
This should be what you are looking for –
gerund or present participle: gaslighting
: manipulate (someone) by psychological means into doubting their own
I just realized this got mentioned in the comments. So I’ll give credit to StoneyB.