The ending was painfully obvious, a poor pun, and pretentious. The movie itself was not a shining moment for Hanks. If I might venture my own pun, the move should have been "Cast Away".
BTW, you do know that "Cast Away" in itself is a pun? The proper spelling for someone shipwrecked is "Castaway". The title suggests throwing away, or "casting away" something... perhaps an old life?