"The Return of a True Good Friend"

Plot Summary
Right after Beast Boy faced the fact that things change in season 5 episode 513: "Things Change", Robin, Beast Boy and the other Titans fight against the Unidentified Robitic creatures, Until Beast Boy notices a peculiar person in sight, meaning Terra's finally returned to rejoin the team.

Transcript
"The Return of a True Good Friend" transcript