Disconnect and switch off WiFi

For esp32, how can I disconnect from AWS mqtt, then switching off Wi-Fi to save power?

Something like:
thing.mqtt.disconnect()
wifi_driver.disable()

Please advice.

Edit: I assume that this should be sufficient: wifi_driver.station_off()