What is the meaning of Come_out_of_the_closet?

To disclose to others about one's sexual orientation, romantic orientation, or gender identity, where previously this had been kept secret.

To self-disclose about one's minority or disapproved-of identity, belief, preference, etc.

Source: wiktionary.org