how to use Cellular Shield with SM5100B

Your code snippet indicates that you are using the hardware serial instance Serial, but the error message says you are using a NewSoftSerial instance.

If you have a NewSoftSerial instance named mySerial, you can send ctrl-z this way:

byte ctrlz = 26;
mySerial.print(ctrlz);