Jack visited Emily and gave her the locket Amanda had died getting. Emily's memories then came back and she told Jack that Daniel was the one who shot her.