If a glitch in Skyrim spoils a quest and blocks your progress, your best move usually is not to abandon the character outright.
First, try reloading an earlier save, waiting a few in-game days, or checking online for known fixes to that specific bug. The Elder Scrolls community has documented workarounds for most quest glitches, so there is often a way to continue without starting over.