I had this very baffling issue in iTunes. This probably applies to both macOS and Windows, but I haven't tested both... anyway, if you find AirPlay seemingly constantly engaged and playing to other devices than what you wanted, the reason this is happening is that iTunes has gotten confused...