Ok, one last piece of advice from someone who knows almost nothing about your day-to-day, just what you initially wrote.
Your value isn’t from the skills you have, it comes from your ability to apply them to problems to produce a useful outcome.
What parts of your job can benefit from applying your software engineering skills? It could make things a lot more bearable, perhaps even enjoyable.