How to unroot Motorola Moto G 2014?
You can go to SuperSu app or any other Superuser app you are using, and go to Settings and you will see a Full unroot option, press that and restart the phone when prompted. This should unroot the phone. But the boot loader will stay unlocked if you have unlocked it.