In some cases, YubiKey is attached to a neck strap as a way to prevent it from remaining plugged into the USB port.
In this case, the YubiKey is connected to the USB only when logging on, but it is difficult to work with the YubiKey still connected, so the user is naturally encouraged to unplug it from the USB.