I hate the term quiet quitting. It implies that you're somehow not doing your job. If your employer is not firing you it means by definition that you are doing the job. Quiet quitting is one of those bullshit terms made up by corporate overlords to extract more labor out of you.
Sounds like quiet quitting is the worst of the two. You still support the company by working there and at the same time don't agree with the values of the company.
If they fire you as an individual and then bring you back, certainly. If it's part of a layoff done this rapidly, its much more likely that it was just a categorizing error. So you probably don't have massive leverage.
That said, you definitely shouldn't accept a worse deal.