I once had a gerbil that was pretty much doing that. Rang the vets, they said it sounded like she needed putting down etc etc, but they couldn't do it until morning (stupid people). I basically sat up with her all night, it was horrible. Buuuuut, after about two hours of cuddles towards the end...