The explanation we sorta got was that he used Pan’s shadow to get back.
well was never really a exact explanation, was more hint, bc of the whole coconut and shadow, but was really never explained in canon show, like many untold questions of the show, many about Bae/Neal and about some other characters and bet they will never give answers to those questions, or to those untold stories, to insert in this season theme, or past theme, bc they made a big buzz about that and that last like 4 or 5 episodes.
[adrotate group="5"]
"I offended you with my opinion? Ha, you should hear the ones I keep to myself".