I've had trouble sometimes with windows not recognizing the mouse when it was moved to a different USB port.
Another thought is to try another mouse in the same and a different port. (I'm assuming this is a USB mouse.) Try using a different port, preferably one on the back of the PC. There may be a cable between a front panel USB and the motherboard that has worked loose. I am always most suspect of front panel ports.
The most successful tyranny is not the one that uses force to assure uniformity but the one that removes the awareness of other possibilities, that makes it seem inconceivable that other ways are viable, that removes the sense that there is an outside.