User Activity

When I turn off my tv using the remote, the modem turns off and I lose internet access. How can I turn off the tv and keep the modem on?