This is the standard way to refresh the taskbar in Windows 10 and 11 without closing your open applications. How to Restart the explorer.exe Process in Windows 10 & 11
Corrupted icon cache can cause issues with the taskbar. Here's how to rebuild the icon cache: refresh windows taskbar