To abandon a quest in Free Realms, open the Quest Journal by pressing Q on your keyboard.
Each quest description has a Drop Quest button on its right-hand side. Clicking it removes the task from your log, which is the fix when a quest has become impossible or simply is not worth finishing.