As Dyadem said you will keep any common skills. A good example is if you are an explorer you have prospecting, forester and tailor. You decide to become an armorer instead, this vocation has prospecting, metalsmith and tailor, you will keep any skills you leveled in both tailor and prospector since they are shared by both vocations but forester will be lost entirely.