Bluetooth HC-05 won't open Serial Port

Ok so, I'm trying to receive some data from arduino uno using HC-05 module on the IDE on my computer, Until now I was beeing able to connect it with the PC, when I open the IDE with the COM6 port I received the information but in weird characters, so I thought that maybe a problem with the velocity of the HC-05 is configured, so I changed it to 38400,0,0... It didn't work so I used the AT command AT+ORGL to return it to factory patterns.
Anyway, I've done this and now my PC won't give the bluetooth a Serial Port to communicate, the velocity is 38400,0,0 and the code I'm using is:

#include<SoftwareSerial.h>
SoftwareSerial BT(10,11);
void setup()
{
  pinMode(9,OUTPUT);
  digitalWrite(9,HIGH);
  Serial.begin(9600);
  BT.begin(38400);
  Serial.println("Bluetooth AT command mode");
}
void loop()
{
  if(BT.available())
    Serial.write(BT.read());
    
  if(Serial.available())
    BT.write(Serial.read());

  Serial.write("banana");
  
}

Ok, so I found the problem, apparently it was windows not the arduino, Runned a few troubleshooters and restart the PC and it started showing the COM port again...