Cats will sometimes "punish" you for going away by ignoring you for a few days when you get back. You just have to get through that part and then she should be as affectionate as ever. Cats don't forget that quickly, so she remembers you; she just wants to play hard-to-get .