What froze? The TV or iPhone?
If TV, just unplug the phone from the USB cable and power off the TV. Then turn it back on without the phone attached.
If it's the iPhone, hold down the power and home button at the same time for 10 seconds. It will perform a forced soft-reboot if it's locked up.