Leviathans dont attack unpowered cyclops, but can attack you in the middle of repair, leaving the leviathan zone is imperative. Press the horn (style points) and hit a max speed, when the creature leave or you are at some distance from the enemy spawn point, shutdown the cyclops and repair. Bring extra power cells or recharge in a habitat powered by thermal or bioreactor.
Shield module use a lot of power but make you invulnerable.