To turn off AllShare on a Samsung Galaxy Note 4, you can go to the Settings app, then choose "Connect and share" or "More networks," and disable AllShare or Screen Mirroring options.