I think usually the number stays with the boat, since often the number reflects the date of initial registration and someone selling a boat of a given class would often be moving to a different class, so would have no reason to take the number.

Mark.