Hi aram214,
Thanks for reaching out in Apple Support Communities. We understand that you received a liquid-detection alert on your iPhone and you chose to override the detection to charge the device. We can see why you'd reach out about this; we can provide some information. We'd recommend that you disconnect the device from the charger then use this resource: If you see a liquid-detection alert on your iPhone
Once the device has had time to dry, you may need to restart if you're still seeing indication of emergency charging: Restart your iPhone
If you continue to see the alert reach out to Apple for additional assistance: Get Support
Best Regards.