Holding my salary

I was working with an NGO on contract as a BDO.That NGO-soft skill training had hold my salary as well and released later after 2 months after constant reminders. Because the Secretary General had personal grudges with me, had hold my salary. But then released, but didn't issue my release letter. Later I joined an abroad study consultancy as Corporate Communication and continued my work. After some months I got an opportunity as a free lancer trainer in a Training institute. So I used to take training during holidays. I had informed my current company CEO about the same and he was ok with it. He was a member of that NGO, where I worked before.But even he had some issues with them so he was not related to them. Suddenly one day My CEO had a meeting with that NGO on 31.7.2017 and he gave me a call on that night itself and started asking questions on my freelancer training. Then later he said, I will call you and asked me not to come office and remain inactive for few days in whats app message. I asked reason and he said something legal because of you, I am in trouble. And from that time onwards he is not answering my call. No email came about my termination nor resignation. But in office he announced that I have resigned.As I call no answer, I whats app him sir what is the reason, he said that that NGO has put a blame on him relating to me taking a training in a class & that I have used their courses etc.I clearly stated sir, that none of their business, its my life and I can do anything in my free time but CEO said they are putting blame on me because of you and so I decided you to must leave us. I told him ok I ca understand but please clear my F&F. But he is not doing it. Then when I emailed him whether my employment is ceased, he said yes and your F&F & july salary will be cleared and as I asked date, he put me an email stating that in social media, why you have put a question on quora on the training institute name where you do freelancing. I clearly stated him, sorry sir, I had made a question without any intention. Its a question answer portal so I had just made a query so that people give their views on it. So he asked me why used our logo. I said , as its made using google account automatically the image on google account came. He said remove it right now.I informed him Sir as I am inactive from any account, I cant make the changes. But he can do it.And asked me to delete any post if made. I deleted the same. And then I informed him as well. I again mailed him, for my F&F but now he is not replying.Last he replied on 1st Sep as "Tuesday or Wed." thats it. I called him & HR but no answer. Instead when I messaged the CEO , he is saying, I am not responsible for anything. Be ready to face my lawyer. whatever he will say I will do in whats app chat. Not putting anything in email but harassing me since month till date. Not meeting, not clearing anything. I am frustrated as I am nt able to apply other company. plse guide.