Electric Shock from concrete pad
Sounds like the barn did not have proper equipotential bonding, which lead to a voltage potential between different areas of the barn.

Your cord was plugged in where ground was 0 volts, and your equipment was set up where ground was a different 0 volts. Because of the lack of equipotential bonding, there's an electrical potential difference between the two grounds.