Can I cancel AT+CMGS by AT Command?

I using this command to send SMS:

AT+CMGS=“999”
> Hello world <ctrl+z>

// The result of sending the SMS takes a long time

So, can I cancel response? I cant write any AT Command when it not return result

hello, what’s your current firmware version?

My firmware is EC20CEHCLG

add @lyman-Q or @Hayes to support this issue, thanks~

I saw a solution is press ESC to cancel operator. Do you know what ASCII number I need to send to port? Maybe 27?

The ASCII escape character 27 <ctrl+[> is an alternative to char 26 <ctrl+z> in the +CMGS command syntax. It aborts the command instead of attempting to send an SMS.

I doubt it would abort the sending, or perform any other function, after <ctrl+z> has already been given.