StopQuest tells the provided quest to stop running.
StopQuest QuestID
StartQuest
Quest.Stop (Papyrus)