There is even a word for “death by overwork” in Japanese (“karoshi”). It’s not uncommon for people to work several more hours after their contractual quitting time and, if you’re not a contract worker, that means that you aren’t paid for that overtime. Even if you have a “haken” (contracted job), it’s still considered rude to leave right on schedule.