Regarding H1 B status . Just got terminated from job

Hi ,

I am currently in first 3 years of H1B and it expires in Oct 2017. All my team including me has been terminated today after migrating work to offshore team. My question is do I get any grace period to search for a new job ? If so, how many days of grace period I can have?

Any help would really help.

Thanks a lot in advance.