When I lost access to 5G, I found that the only way I could get it back again was to go to:
Settings / More connectivity optons / Reset Wi-Fi, mobile networks, and Bluetooth.
That unfortunately also lost all of the stored Wi-Fi and Bluetooth settings, but it did get 5G back again. I don't know...