All the ring-bearers went to the havens to sail over the sea to Valinor(I believe). That is why Frodo went and later Sam went(He was a ring-bearer for a short-time). Many elves traveled as well, and is believed that Legolas and Gimli went later also.
Gandalf