For those using AirPlay to mirror to an external screen e.g. TV etc. you can toggle whether the Screen Mirroring tool shows up in the Menu Bar - or not - via System Preferences -> Dock & Menu Bar -> Screen Mirroring
This is especially useful for me now that we're back in the office in meeting rooms equipped with TV