About the H1B Status

H1B with Employer A was approved and valid until June 2020.

I resigned with Emp A and had filed H1B transfer with Emp B.

H1B transfer is in RFE and I got laid off by Emp B, looking for a job.

What are my options and how many days can I be in the country before a new h1b transfer can be filed?