tree:

root(tree)

Follows the tree’s parent links to return the root node.