I'm not clear enough on what you explained to say whether it was astral travel of conscious projection.
But loosing interest in human life just means you're not grounded enough into the body. We can get rather disassociated from our humanness when we do work with higher states of consciousness if we do not ground well first and then again afterwards.
Google Grounding forms - or ask here. There's many.
Also almost all dark colored or black stones have grounding properties - get one or two and keep them in your pockets or get a necklace with one in it.
Carnelian is also very useful for pulling us back into the lower chakras and grounding us into the body.
Mastery is to be able to be fully functional in all realms - including the human one!
So get well grounded and stay that way - then you can, with nice deep roots into the earth planes, stretch out into the cosmos and be able to return and function successfully and even brilliantly as a human being. :)
"If you want to understand the Secrets of the Universe think in terms of Energy, Frequency and Vibration"
Nicola Tesla 1856-1943
When asked by a reporter how it felt to be the smartest man alive Einstein responded "I wouldn't know, ask Tesla."