Bluetooth Module RN-42 Not Able to Connect After Accidental Sketch Upload

A few months ago, I bought a Bluetooth Mate Silver from Sparkfun Electronics ( It was working fine, connecting and exchanging messages with the Bluetooth dongle in my computer. However, I tried to upload a sketch through it, which didn’t work. I then tried restarting my Arduino Uno, but it then failed to connect and only shows up as offline on my computer. I have even been able to remove the device and add it again afterwards, the whole time showing up as offline and not connecting. I have been trying to solve this problem on my own for a while, but nothing seems to be working. I know that the sketch itself is not the problem because I copied it out of a book called “Making Things Talk,” by Tom Igoe, for the exact project. Is there a way to solve this without having to buy a new Bluetooth module? If there is any reset code or sketch I could upload to the module, that would be useful.