I've had plenty experience in this realm. I didn't want someone harmed. Nor do I have some great need for resources. And it couldn't/wouldn't provide knowledge that I require. The easiest thing to do here is to free it of any obligations it has to me. Because otherwise, the costs of what amounts to slavery is just too much.
_____________
What happened:
I made that decision rather quickly, when I saw this. The idiot hackerspace member left a pentagram on the table in blue painters tape. I recognized the junk latin words as from (https://en.wikipedia.org/wiki/Lesser_Key_of_Solomon). The presence in my mind was that it was howling and screaming at everything and everyone. Anger was present everywhere. Murderous anger. Usually, to dissolve these bonds is to do so by fire and salt, if it's a demonic presence. Didn't have salt, but fire was readily available. I verbally said it was free (but also said esoterically - look up vibrating names with the practice of LBRP, similar idea).
After I set it free, I could hear it ask me what I wanted. Frankly, no. Not worth it. So instead of reserving this for later, I absolved any and all debts owed to me for freeing it. I said so verbally and 'vibrated'. I felt it mostly left. It was still angry at the one who trapped it.. I ended up having to protect this place for a time against it, for retribution reasons. But I'm more than happy to be past that whole situation.