Walk out the door.
You can't remove quests from your log once you trigger them.
Edit
Unless you complete or fail them.
I have yet to find a quest that I can fail without dying. Doesn't mean there aren't any, of course. Just that I haven't found one yet.
Anyways, there is no way to leave a guild or remove a quest from your log. Once you're in, you're in for life.