the final season of the show depicts the 56 hours before her wedding to barney. on her wedding day, she gets cold feet when she learns that ted went to great lengths to find a locket she had buried years before; she takes it as a "sign from the universe" that she should be with ted. wanting her to be happy, ted tells her that he no longer loves her in that way. she goes through with the wedding after barney vows to always be honest with her.