My 80's JVC cassette deck no longer switches off at the end of a tape. I found a small metal plate next to a solenoid that disengages the mechanism when pressed, so my guess is that something is failing to activate the solenoid. But beyond that, I'm stumped.
OTOH, I would surely have found it in the case if it had dropped off, or would be able to see the metal arm that held it.