Hi, Mitchie,
Appendicitis wouldn't directly trigger a Migraine, BUT illnesses and injuries can stress our bodies in ways that make us more susceptible to our triggers. They can also mean that we encounter triggers we don't usually encounter - maybe poor quality sleep or something else that doesn't normally happen to you.
Am I understanding correctly that you had a Migraine for 23 days before surgery, then it was gone after surgery? If so, there's a good possible explanation for why it ended when it did. Good, deep sleep is a natural Migraine abortive. The anesthesia for the surgery may well have gotten you into a deep, relaxing sleep during which the Migraine stopped.
Teri
Important:
We hope you find this general health information helpful. Please note however, that this Q&A is meant to support not replace the professional medical advice you receive from your doctor. No information in the Answers above is intended to diagnose or treat any condition. The views expressed in the Answers above belong to the individuals who posted them and do not necessarily reflect the views of Remedy Health Media. Remedy Health Media does not review or edit content posted by our community members, but reserves the right to remove any material it deems inappropriate.