Can you leave the Masons once you become one?

Yes, however the knowledge gained will forever live on for the rest of the individual's life. Nothing beyond the fraternal bond of Brotherhood makes any requirement to remaining a Freemason.