It is possible there is more going on than simply losing some affinity for the instrument.
Lack of motivation can be a sign of clinical depression, that may be worthy of seeking help.
Maybe examine carefully why you aren't playing bass.
How much have you explored, scrutinized, and introspected your mental state when you reach for (or fail to reach for) your bass?
What goes through your mind? How does it feel? what inner dialog do you go through?
can you force yourself to kick out some arpeggios around the circle of 5ths, even when unmotivated?
I'll also say, as someone who has a day job doing what I love:
I do not always feel like doing it. But I have to do it, an do it with a good attitude,
because it's my job and I am a professional.
doing the work, regardless of how you feel in the moment, is a critical professional skill to build.
You have to practice practicing when you don't feel like it. You can get better at it.
exercising my capacity to do unpleasant but necessary things has improved my life tremendously.
So check in on do yourself a favor and get the possibility,
and practice practicing