It could be that whatever it was she was trying to spit up didn't come. Many times when my cats have hairballs and it all doesn't come up, they will continiue to hack and cough for along time. I would only worry if it continiues. You may just want to try some hairball control goop.

WELCOME!! Hope you enjoy this board!