I loved that scene, I always loved in the Star Trek Movies that Kirk had the final lines when they headed out.
Star Trek TMP
Heading Sir
(Kirk waves his hand)
Out there thataway
Star Trek 2
McCoy: He's not really dead. As long as we remember him.
Kirk: It's a far, far better thing I do than I have ever done before. A far better resting place that I go to than I have ever known.
Carol Marcus: Is that a poem?
Kirk: No. Something Spock was trying to tell me. On my birthday.
McCoy: You okay, Jim? How do you feel?
Kirk: Young. I feel young.
Star Trek 4
Sulu: ...I'm counting on the *Excelsior*.
Scotty: The *Excelsior*? Why in God's name would you want that bucket of bolts?
Kirk: A ship is a ship.
Scotty: Whatever you say so.
[pause]
Scotty: Thy will be done.
[the new starship USS *Enterprise* 1701-A emerges into view]
Kirk: My friends.
[pause]
Kirk: We've come home.
Star Trek 6
Commander Pavel Chekov: So, this is goodbye.
Kirk: I think it's about time we got underway ourselves.
[sits on captain's chair] Commander Nyota Uhura: Captain, I have orders from Starfleet Command. We're to put back to Spacedock immediately... to be decommissioned.
[long pause as Kirk contemplates the order] Spock: If I were human, I believe my response would be "go to Hell."
[Kirk looks at Spock; to Kirk] If I were human.
Chekov: Course heading, Captain?
Kirk:
Second star to the right and straight on till morning.