| You never know how things are going to work out.
This answer is subject to change.
After her Agni Kai with Zuko and subsequent mental breakdown, Azula was transferred to a mental health facility on a nearby island, where she was continuously monitored. About a year later, she was visited by her brother, who told her that he had consulted with Ozai numerous times and had tried to get information about their mother's whereabouts, though to no avail. Answering his request for help, Azula said that she needed nothing in return for her assistance, as the mere knowledge of being of service to the Fire Lord would be enough satisfaction, stating that she had been wondering as well what exactly happened to their mother all those years ago.
She managed to coax the needed information about Ursa's whereabouts from Ozai. However, unlike her previous statement that she did not want anything in return, she requested to be released and allowed to accompany Zuko on his quest for their mother, unbound and with dignity. Her request was met, though when she showed herself to Team Avatar, she was immediately attacked. She easily dodged their attacks, and proceeded to taunt and insult Sokka. The tension between the two rose and led to a minor scuffle, during which Azula ended up zapping him with her lightning. The rest of the team immediately intervened and immobilized her with their bending. Upon her release, she haughtily stated that they should all just stay away from her.