Ok first of if he did go back and finish the job the OT would have been a paradox.
Second he wasn't depressed he was upset he thought he could win Yoda isn't a cry baby.
And finally Yoda didn't leave when he did he risks the chance of being killed and then the Darkside would truly rule the galaxy.
Sry if I sound rude but seriously don't insult Yoda