Leaving this world is not as scary as it sounds.
If you postulate consciousness as emergent and not innate, then that means you basically die every time you sleep and you already know what happens. This begs the question: why fear the void, especially if we're already intimately familiar with it from a lifetime ofーadmittedly imperfectーexperience. From where I'm standing, fear of death isn't actually fear of death itself; it's a fear of two distinct things related to but separate from death itself: fear of dying and fear of the life not lived. Fear of dying is pretty obvious as it's really just an extension of the fear of pain and suffering taken to its logical extreme. If it sucks to be hurt, then it must really suck to be hurt so bad you die, right? Pain has been around for a long time and we've developed extensive coping mechanisms that you can study if you feel so inclined, but at the bare minimum it's not an unknown quantity. You can understand it and learn to deal with it.
The second is the fear of the life not lived, of which I can really sympathize. Look at any worthy discipline or study and you'll hear the same lament: "life is short, the art long!". The thought of missing something or living anything other than your best life is definitely terrifying, but it's fundamentally quite similar to FOMO. We can name it, we can study it, and if you want to come to terms with it there are handles that you can grasp to do so. But imo the most important thing to remember is the simplest: focus first on living your life.
I think Modest Mouse's Isaac Brock said it best: "It's hard to remember [it's hard to remember] we're alive for the first time. It's hard to remember [it's hard to remember] we're alive for the last time. It's hard to remember [it's hard to remember] to live, before you die."
I'm of the steadfast opinion that if you can remember this, the rest will come together on its own.