Rooting the device isn't your issue, TranQ has been having issues and I had the same issue with using the latest build, I agree that Apex is way more stable.
Now if you still want to unroot, if you used z4root like most users, the app has a unroot option and all you have to do is open app and click unroot.