You can also reset the modem or router using the TP-Link web portal.
Access web portal
To access the web portal, log into your TP-Link router.
Reset to factory default
Look under System Tools for an option called Factory Defaults. Select Restore to initiate the factory reset.
Wait a few moments for the router to restart. When it boots, everything will be restored to factory default settings.