Unrooting closes the root access and removes SuperSu and Busybox. Some files in the OS will still be modified until you factory reset.
There are generally three things you need to take care of when unrooting fully (for warranty reasons for example).
Reset Flash Counter
When using custom ROMs you also have to reflash stock / restore custom recovery.