In Microsoft Edge Canary, you can enable the Persist pin state for menus experimental flag to have pinnable menus remember whether they were previously pinned or unpinned.
This tutorial will show you how to enable or disable pinnable menus to remember whether they were previously pinned or unpinned in the Chromium based Microsoft Edge.