The storyFrom wan- + restful. Compare Scots wanrest (“unrest”).Etymology from Wiktionary, CC BY-SA 4.0.