@changeip's code works if you replace both occurrences of
name by
list.
how to rename address list via Winbox?
No way to do that in a single step from Winbox except running the code suggested by @changeip in the [Terminal] window. The address list items are separate rows in a common table, where the address list name is just a single column of these rows. So the change has to be done on each individual row, and Winbox doesn't have an option to do this.
Don't forget that changing the list name for all the respective rows in the
/ip firewall address-list table will
not change references to the old name of the list in firewall rules and scripts.