in bed elizabeth lay awake for hours , tortured with memories of the weekend and with terror that she might not be able to dissuade robert from dueling with ian thornton , which she was almost certain he still meant to do .