Most of the people practice, in their lifetime, some or other paths established by scriptures to get moksha. Some may use rama nama, some may use yoga, some may use jnana marga, etc.,
Each path may take a lot of time and constant practice. After that, the aspirant can get moksha according to the scriptures.
Are there any instances in scriptures that a person gets moksha involuntarily? That is, the aspirant didn't consciously perform any practice for moksha, but got moksha.