Do you think just not showing up to work one day is OK? A honest question, it's interesting to me from a cultural point of view. I agreed to my current contract, and a part of that contact is "if I want to quit I either give a months notice, or agree to a shorter notice together with my company". This just sounds like an adult thing to do to honor that agreement. (I live in Europe btw).
Of course we both agree that company straight up refusing to let you go is oppressive and scummy.