As others have said, a break is a good and healthy thing.
Personally, I find that what helps me most during a break is to get entirely new music in my head. Pick up some albums you've never listened to before, or tune your daily driving radio stations to something way outside the norm. If you're a jazz guy listen to Taylor Swift and similar pop. If you're into blues go pick up some jazz. It doesn't even have to be music with a bass in it. Spend a week listening to hip hop and you'll come back to your bass with some different rhythms and phrases than you'd ever think of as an instrumentalist.
When you go pick up your bass after a break you will have different music playing in your head, which will likely translate to new ideas and some fresh approaches. You might even hear some new songs that you're actually excited to sit down and learn to play! You don't have to limit yourself to bass parts, either. Transcribe guitar solos, vocal lines, harmonies, horn parts, etc. Those can also get you out of a rut when you're only thinking about bass notes.