How did YouTube exit?

YouTube was bought by Google for $1.65 billion in October 2006.