I once did something like this once on a mechanical Olivetti... only it was a million times a million.
Not even unplugging it would reset the mechanism. We had to open it and find and pull a master release bar, forcing it to end calculation and print a partial answer.
She used to say if you accidentally divided by zero, it jammed itself and you had to call a repairman...