Use F12 or Fn+F12 depending on if you have Fn toggled or not:
My guess would be that the WIFI antenna actually isn’t turned off but maybe Ubuntu 20.04 is too old to recognize the hardware. Have you tried 24.04 to at least see what normal operation of your WIFI would look like?