2020 Model 3 here, same thing started happening today. Reboot, shut down didn't work.
I found if I opened the port and immediately jammed the connector in and started a charge, then stopped it, it would start functioning again.
Seems like a bug, though I'm on software v2023.44.30.14