The RMS Queen Mary did not "travel" to Long Beach under her own steam in the traditional sense. After a storied 31-year career—carrying 2.1 million passengers in peace and 800,000 troops in war—the Cunard Line retired the aging liner in 1967. The city of Long Beach, California, purchased the ship for $3.45 million to serve as a permanent floating hotel, museum, and tourist attraction.
The ship's final journey was a delivery voyage, not a commercial crossing:
The Queen Mary has been permanently berthed in Long Beach. Her engines were removed; she no longer sails. She operates as a hotel (347 rooms), event venue, and museum showcasing transatlantic travel history, WWII service, and Art Deco design. Listed on the National Register of Historic Places, she remains an iconic Long Beach landmark.
So the Queen Mary didn't "get to" Long Beach by regular service—she was deliberately brought there for a second life on land.