If that is the case, then 4 months is not going to be enough time for you to "pivot" to something different, or something completely different.
But you could shut down and lay off all your employees. If you are a developer, you could manage the website or whatever and make some beer money. I would not take on debt the risk is way to great for the reward.
What you need is time. If you have no employees, that time can be vastly extended. Slash your expenses. Be honest with yourself; can you even maintain your business with existing sales (if any) by your self. If not, might be a good time to get out and shut everything down.
And next time start with the idea of crushing expenses. Teach yourself to write software if you don't already. You need to create something that provides value. The GDPR thing at least as you approached it didn't have enough value. Either that or sales and marketing couldn't make it go. Some ideas just don't have merit and have to be abandoned. Edit: should mention that I've abandoned several ideas. Though I did get lucky with some of them for a while.