After on_demand_tracking my GH5200 does not continue the normal tracking which it was doing before.
After activating the function, you will receive messages for the duration of the "duration" setting with the frequency of the "Period" setting.
For example, the setting "duration = 600sec", "period = 10sec" is set.
What setting are you using?
You will receive 60 records during the functionality, after which the device will switch to the sending mode according to the "data acquisition" schedule.
I start the on demand tracking via sms command, which works fine. (on_demand_tracking1)
Try to disable the functionality using the SMS command "on_demand_tracking#" 0 - Stops Tracking on Demand functionality and check if it works.
The description of the functionality can be found at the link: