How The Legend of Zelda: Phantom Hourglass Ends

The answer that begins "different cans" is not an answer, so here is what can be said without inventing detail.

Phantom Hourglass closes where it began, aboard a ship. The final stretch resolves the Ocean King's storyline and the fate of the Phantom Hourglass itself, and then returns Link to the S.S. Linebeck, where the framing device of the whole adventure — a journey that began with Link and Tetra sailing together — is closed off. Tetra, who spent most of the game absent, is back.

The ending is deliberately quiet. It is short, it does not over-explain the mythology, and it leans on the relationship established in the opening rather than on any final confrontation. That understatedness is why so many players remember it fondly and why so many written summaries of it are useless — there is not much plot to summarise.

If you want the exact sequence of scenes, a video playthrough of the final chapter will show it far better than any text description.