Dear ROSH,
Yes, to a certain extent, you will be right in what you are doing because we don't know the reason for you to quit the company. If your service was less than 6 months with that company, the best thing to do is to get it transferred since you will only get the employee contribution. However, if you have worked for more than 6 months, then just collect your company PF number from any of your ex-company friends. With that code, you can try to collect your PF number from the local PF office. The only thing that might be a problem, according to me, is in most of the cases, you need to get PF forms signed by the employer. Hopefully, without any problem, you will be able to get your PF amount.
More importantly, you can apply for PF withdrawal only after 60 days from your last date of working. Let us know if you have got this problem solved.
Regards,
Amith R.