When you inject a dll into the game, it injects it into the current instance of that (GTAV.exe) process that is in memory. Thus when you exit the game, GTAV.exe (and all its injected content) are dumped from memory.
Long story short, there is no trace as soon as you close the game. This is also why you need to inject the mod every time the game is started.