I now recall... I had a Nikkormat EL that did this, way back in the early '00s. Most annoying, it was.
I took it to my then (now retired, and I do miss him) repair person in Melbourne, who fiddled with it for a bit and then pronounced it to be unfixable - said it would cost too much, and even then being fully electronical (is this a word? I hope) it would likely as not break down again in very short order.
So I took it home and put it away. Ten years later I found it in its box, resting quietly in peace. Took out the battery (I had left it in, silly me, but it still worked, ha!) and cleaned the innards with a cotton bud and a drop or two of methylated spirit. Let it dry, put in the battery, and boom!! it worked again.
Has worked consistently since. I sold it last December to someone who as long ago as last month (August '21) was still using it and very happy with it, all working spot-on. A 46-year old electronic camera, imagine!!
I also have a Contax G1 that developed an autorewind problem, in 2004. Which also fixed itself after about 18 months of having to manually rewind my films using a toothpick, a long and involved story (not what many will think). But then a G1 isn't a Nikon or a Nikkormat, so I'll say no more about it. For now.
Anecdotal? Yes, definitely. But miracles can/do happen.
I do wish I could have accessed this thread back then. So many useful hints and tips. But then I've never, ever opened up a camera to tinker with it, and I never will. My camera repair person made a small fortune out of me...