The answer to that question is the subject matter of the Gita.
The highest form of enlightenment is the complete renunciation of the duality between the individual and supreme self.
There are several Yoga that can lead to it: action, devotion, meditation, renunciation, etc.
All focus on eliminating that which binds you to your ego until you are one with God.