Why is Katherine not in the tomb in Vampire Diaries?

Before they all went into the tomb, the guard let her go so actually, she never went into the tomb in the first place.