terminateApp withoout clearing data

Is it possible to terminate app without clearing the app data?

I need to reproduce unloading an application from RAM.
The app data remains in this case.

how simple terminate command does not work in your case?

In my app, I have a short authorization when the user has set their PIN.
After calling termnateApp, the data is deleted and full authorization is required.

And I really don’t want to use the noreset strategy as a workaround.

you app android or ios? with android you can use pure ADB command to terminate it.

Great! A suitable solution for Android.

Thank you.