The Mahayana instruction for ejection of consciousness at death is The Five Strengths: how you conduct yourself is important.