Unplug the USB cable, connect the device to your TV via HDMI, and plug in the power adapter.

Ensure the TV box is completely powered off and the power cable is unplugged.

Reviving Your Amlogic S805: Top Free Custom ROMs and Installation Guide

This is the cleanest method and is highly recommended for installing full Android ROMs or recovering a bricked device.