COM port disappears after unplugging

I am using an arduino uno board with windows 11 on a school computer. I keep losing the COM port when I unplug the arduino. Does anyone know why it disappears?

The com port you see is a virtual port through the USB cable. It is created and a port # assigned when the Arduino is plugged in. Once the Arduino is no longer connected it disappears.

Yes that is normally what happens, you unplug it so it is no longer available so it makes little sense to show it.