Try restarting the AC adapter if your Switch still has trouble connecting, and make sure the console functions in handheld mode. Disconnect all of the cables from the dock and turn off the TV. Disconnecting the AC adapter from the wall outlet and the dock for at least 30 seconds will reset it.