Usually when a fish lays on its side, it will die within 24 hours. Sometimes however, they can live up to one week. What you could have done to give your fish a pain-free death was put it in a plastic bag and put it in the freezer. The fish will not feel a thing...it will sleep in the bag and eventually freeze to death...painlessly of course.