When you toggle the Wi-Fi button in Control Center in iOS 11, it only disconnects but does not turn off. It will automatically connect again in the following situations:
- You turn on Wi-Fi in Control Center.
- You connect to a Wi-Fi network in Settings > Wi-Fi.
- You walk or drive to a new location.
- It's 5 AM local time.
- You restart your device.
Use Bluetooth and Wi-Fi in Control Center with iOS 11 - Apple Support