The first thing you need to do is determine why touching the power cord on the power strip causes a problem.

It's either the cord or the socket replace what's needed to get a solid connection.

Dropping power with the pc running can damage the hardware or corrupt data.

If it's hardware you replace what's busted.

If it's corrupt data there are a few tools that might help or you restore your backup.