If you're sure that your charging port is dry, and you plug in your charger only to receive the "Moisture detected" message on your Samsung phone, consider force-restarting your device.