In order to hide hover cards for inactive apps in taskbar of Windows 11, go to Settings > Personalization > Taskbar > Taskbar behaviors > Uncheck “Show hover cards for inactive and pinned taskbar apps ...
When a Windows 11 application hangs, the normal recourse is to open up the Task Manager, dig through the list of running processes, and use the End Task option in that utility. But there's another way ...