“Din” is the word for religion in Arabic and languages of most Muslim countries like Turkish. Although of course there is a ridiculous semitic construct for it. You can learn about from here. This is about what it may mean in Turkish.
The root “Din” directly relates to relief.
Examples:
(-mek is similar to -ing not a suffix that changes the meaning.)
For instance, in modern Turkish “reliefing pain” translates into “acıyı din+dir+mek”. But it seems like the root “din” just relates to ending something onoing. However still it seems like it may be more complicated especially because it is being used for resting.
Hilariously actually its use in context of Quran in most cases according to Turkish meaning. Like "yavmi din", literally means "day of the din". Usually translated as day of the judgement.