What attitude should I have when leaving the sukkah because of heavy rain?
According to the Rama’s teaching cited in the name of the Maharil, one should not feel pleased to be rid of an inconvenience. The appropriate attitude is regret that circumstances sent by God require leaving the sukkah.
A practical halachic question: the final ruling is for your rabbi.
Quote from the source«Rather, he should be upset that Hashem has exiled him from his Sukkah by sending rain or some other disturbance.»
- Author
- Rama; Maharil
- Source
- Parsha.net — Pesach73, p. 10