When trying to remove pinned apps from the taskbar, we tend to unpin apps manually. This will surely work but will take way too much time especially if you tend to pin a lot of apps in your taskbar.
Windows 11's taskbar offers extensive customization for a personalized computing experience. Users can now easily adjust icon alignment, manage app visibility, and control system tray elements.