So, I used the app "Remote ADB Shell" on my Android phone to grant the WRITE_SECURE_SETTINGS permission to my AndroidTV (HiSense Smart ATV). In order to grant this permission I had to connect my phone to my TV on my network using RSA key authentication.
It has been a while since I did the procedure, however, I believe that I set the IP address of my TV (192.168.0.9) and a port number of my selection (5756). I got a prompt on my TV asking me to allow the RSA key, I pressed accept and was able to send the ADB command necessary.
However, now my TV still listens on port 5756. How can I stop the TV from listening on this port?