How I do exit Telnet client session without closing cmd in Windows?

I opened command prompt, and run the telnet server IP port command, the connection is working!
to close the telnet session, I click on the close button of command prompt and reopen it again,
It doesn't make sense, I need the best way to close the Telnet client session without closing command prompt in Windows