Connect WCH-LinkE as usual. Run WCH-Link. Hold reset pin PD7 or PD5 to GND, Query Chip Info 2-3 times while holding reset on GND. Release reset pin, Run the Query again and note that there was communication. Connect reset to GND and run Query 2-3 times again, then quit WCH-Link, switch to Arduino IDE and upload your program with success after that.