How to come out from data mode to at mode

Hi all,
By using adl_fcmSwitchV24State(V24Handle,ADL_FCM_V24_STATE_DATA), i went in to the data mode. Now how to come out from data mode to AT mode because AT commands are not working now.

adl_fcmSwitchV24State(V24Handle,ADL_FCM_V24_STATE_AT) by using i can switch from data mode to at mode but i am not able to flash the .dwl file because at+wdwl[debugging mode] is working.

Please give me some suggestions how to come out from data mode.

I got “no carrier” message over UART after some time then AT commands are now working.

-Ganesh