If there are sticky substances or grime in the USB-C port, wrap a small amount of cotton around a dental pick and dampen it ...
Full reinstall via Recovery. Shut down. Start holding the power button (Apple Silicon) until Options, or Cmd+R on Intel.