I share your experience and frustration.
Whenever possible I would only open them for as long as I needed to configure something, then killed the process if it wasn't necessary.
Thankfully on the Mac I haven't encountered a need for those yet.
I had an issue recently with missing drivers for a network card (my fault, I deleted the kernel modules, it had been and now is again working), and it just made me think exactly what you're saying, how glad I am that someone's provided this.
Instead I just stopped buying razer products.
Fortunately, these mappings are persistent, so reconfiguring the mouse from a Linux VM, once and for all, was, for me at least, a reasonable alternative.
Unfortunately, the mappings are sufficiently persistent that I don't remember the name of the Linux (command-line) utility that I used several years ago to configure my G502, but a quick Google search suggests the Piper[1] GUI app may be up to the task.
Caveat: if you ever plan on using the mouse with Windows, bear in mind that the Windows HID mouse driver only directly supports buttons 1–5 (though I have observed that the remainder do generate events in the underlying driver stack, so you could hypothetically work around this limitation by writing a filter driver to remap the events, assuming no such driver currently exists).
But this might help prevent accidental quits. Use the Keyboard System Settings to reassign the quit shortcut for the Logitech app from cmd-q to cmd-opt-q.
It’s a cheap end G203 which I bought because it has a DPI switch on it so I can jump around easily when doing CAD stuff.
I have considered cracking it open and desoldering the LEDs.
The latest version of the Logitech software (G HUB) doesn't make this feature obvious though, you have to set a local profile then click the gear icon > my gear > click the mouse image > switch on on-board memory mode > click Slot 1 (Default) > click replace with [the profile you just customized, usually Desktop (default.)
The old Logitech Gaming Software was much simpler in this regard.
I'm using a G502 at work right now with Logitech Gaming Software and the two completely baffling decisions they made with that software on macOS:
1. It has to be running. If I launch it for configuration and hit ⌘Q it stops working and my mouse reverts to the default. I have to remember to close the window instead, which leaves it in the menubar.
2. I can't unmap buttons and have them act as generic HID mouse buttons. I can map buttons to mouse 1, 2, and 3, but I can't go past that. I can map buttons to various special functions, but it would be a hell of a lot more flexible if I could just have mouse 4 and mouse 5 mapped. For example, I can map the "sniper" button to Mission Control, but I can't change its behavior with keyboard modifiers, whereas if it was just Mouse 5 I could use the system configuration to map that to Mission Control and then use keyboard modifiers to change its behavior.