Bluetooth HC-05 module not showing up anymore after setting master mode

Hi everyone, I have a problem with my Bluetooth HC-05 module. It was working fine, then I used AT commands to put it in master mode. After that, due to problems with the Bluetooth (I'm running on Windows 10), I had to uninstall and reinstall the Bluetooth drivers. Obviously I had to pair the module with the computer again, but it doesn't show up at all! The led is blinking correctly, both in the standard and in the AT mode (slow blinks). Moreover, if I short the TX and RX pins together and upload the basic sketch that I used for AT mode, I receive back what I write on the serial monitor, but the AT commands don't work. Any ideas?

Nevermind, solved. It was still in master mode, I managed to put it again in slave mode and everything went back to normal.