Dear Rakesh, what has happened to you is really horrible. However, as told by Mr. Vinod Bidwaik, please reflect on those four days. Did you rub anyone the wrong way, especially the head of your function? He/she might have thought that instead of towing this liability, let me get rid of it right away!
For Mr. Vinod Bidwaik: You have written that "But before that, please check your behavior, action, and competencies required for them. Did you overproject yourself during an interview?"
If the person employed is terminated because of (lack of) competencies required or over-projection during the interview, then it is purely a fault of the (so-called) interviewers. In that case, we cannot blame Rakesh. Recruitment and selection is not child's play. If the company failed to detect certain competencies, then it was not competency-based recruitment, and the company should have given proper separation allowance as applicable to the permanent employees.
This is not an isolated incident that has come up in this forum. You may refer to the following link. It's a classic example of how HR was ineffective and played second fiddle to the boss. It could be true in Rakesh's case as well.
https://www.citehr.com/107976-urgent...its-right.html
Thanks,
Dinesh V Divekar