yes it will disconnect .
here is an example captured on my callbox:
default is the valid APN
bogus APN is not programmed in the callbox:
at+cgcontrdp
+CGCONTRDP: 1,5,default,192.168.2.2,8.8.8.8,
OK
at!custom?
!CUSTOM:
GPSENABLE 0x01
GPSLPM 0x01
IPV6ENABLE 0x01
UIM2ENABLE 0x01
SIMLPM 0x01
USBSERIALENABLE 0x01
SINGLEAPNSWITCH 0x01
OK
at+cgdcont?
+CGDCONT: 1,“IP”,“default”,“0.0.0.0”,0,0,0,0
OK
at!gstatus?
!GSTATUS:
Current Time: 37 Temperature: 28
Reset Counter: 1 Mode: ONLINE
System mode: LTE PS state: Attached
LTE band: B4 LTE bw: 20 MHz
LTE Rx chan: 2150 LTE Tx chan: 20150
LTE CA state: NOT ASSIGNED
EMM state: Registered Normal Service
RRC state: RRC Idle
IMS reg state: No Srv
PCC RxM RSSI: -36 RSRP (dBm): -63
PCC RxD RSSI: -57 RSRP (dBm): -83
Tx Power: – TAC: 0001 (1)
RSRQ (dB): -6.0 Cell ID: 01A2D101 (27447553)
SINR (dB): 28.6
OK
at+cgcontrdp
+CGCONTRDP: 1,5,default,192.168.2.2,8.8.8.8,
OK
at+cgdcont=1,“ip”,“bogus”
OK
at+cgcontrdp
OK
at!gstatus?
!GSTATUS:
Current Time: 79 Temperature: 28
Reset Counter: 1 Mode: ONLINE
System mode: LTE PS state: Not attached
LTE band: B4 LTE bw: 20 MHz
LTE Rx chan: 2150 LTE Tx chan: 20150
LTE CA state: NOT ASSIGNED
EMM state: Deregistered Attaching
RRC state: RRC Idle
IMS reg state: No Srv
PCC RxM RSSI: -36 RSRP (dBm): -63
PCC RxD RSSI: -57 RSRP (dBm): -83
Tx Power: – TAC: 0001 (1)
RSRQ (dB): -6.0 Cell ID: 01A2D101 (27447553)
SINR (dB): 29.0
OK
at+cgcontrdp
OK
at+creg?
+CREG: 0,2
OK
a/
+CREG: 0,2
OK