Do not resign. Let them fire you and that way you can get severance or file for unemployment. In the meanwhile, brush up on DSA and system design. Invest in leetcode premium and start going though the solutions and approaches. Nowadays it takes about 4-8 weeks of solid LC to prepare yourself for an interview.