Meaning: The jester's jokes helped the king to temporarily forget about the things that were causing him stress and anxiety.
Choice of Words: To "forget" means to stop remembering or thinking about something. "Worries" are things that cause anxiety or concern.