How access term name by object?
You should get the name with the getName method.
In your case :

$term[1]-&gt;getName();
$term-&gt;getName();


If not, you can load the term and after get the name:

$term = Term::load($term[1]-&gt;id());
$term-&gt;getName();