Once you have shared a tree with someone and given them permission to edit you cannot retract that permission. However, their editing ability will be much more limited that your own. You can export your tree to another account as a fail-safe, and backing up your tree is always a good idea.
Hope this helps!