Open Control Center and tap . The icon dims and your device disconnects from any network that you're connected to.

While Wi-Fi is disabled, auto-join for any nearby Wi-Fi networks is also disabled until: