code: def unroot(self):
          
          nself = self.copy()
          nself.treenode.unroot()
          nself.treenode.ladderize()
          nself._coords.update()
          return nself
docs: Returns a copy of the tree unrooted. Does not transform tree in-place.