How to Turn Off Screen Mirroring on Android?
Go to the Settings menu, then in the search bar Search Cast and click on it now; if you want to cast your smartphone, use the Cast button or Disconnect any devices that device previously connected to the screen mirroring system.