The sweating you experienced was a reaction of your body to poisoning
. You were ill as you had your appendix
out, and weak from the intervention. The poisoning has made you become more weak, so, you experience sweating together with other symptoms.
Sweating has been also caused by the strong antibiotics you have taken during the stay in the hospital.
All the best! Wish you fast recovery!