A good definition for middle class; is that you make a significant income from your capital investments.
In that case it doesn't matter if you stop working for a few months; your stocks and shares still pay dividends and your tenants still pay you rent; your capital still keeps on working for you.
A good clue is this: if your money all comes from working for someone else; and it all stops when you stop working; then you are working class.
Like most people in the world.