What to check
Note whether the console actually shows a cable-disconnected message, whether other devices lose internet, and if it happens in more than one game.
What your result tells you
Network service interruptions and loss of the physical Ethernet link are different observations.
Manufacturer troubleshooting and reference
Get help with this issue
PlayStation LAN and Ethernet port repair