Does that mean that if I exit claude code and then later resume the session, the database is already lost? When exactly does the session end?