Freezing with Panasonic Viera after switching off TV

Can you check system/input/peripherals/cec settings.
Make sure action for “when the TV is switched off” is set to ignore.