After the defeat of the First Order, he decided to come to Endor, to celebrate the victory with the Ewoks.
MUST READ THE ORIGINAL PROJECT: https://scratch.mit.edu/projects/787499139/