I read half these responses and could not read anymore, Most are wrong. I work on 3 to 5 trailers a week, for a living.
First off the trailer emergency brake is to activate the brakes if the trailer comes off the hitch ball or pintle hitch, the cable must be shorter than the chains.
Then the brakes are applied to slow the trailer for a controled stop, chains are ment to keep the trailer behind you. If the brakes are not applied, this could lead to possible chain failure, truck trailer damage, or worse. All trailer brakeaway switches, come with a long cable, they must be cut to length, and a snap hook should be installed, get the hook and the cable crimp type clamp from a hardware store, its easy to do.
The chains must be the proper length also, not dragging or twisted, they should be crossed at the tongue, to cradle tongue, if hitch comes unhooked, this prevent it from digging in and possibly breaking chains or worse. The chains and hooks should be heavy enough, not to break, many are not!
I would bet 75% of the trailers and pickups on the road are not properly set up, hooked up or maintained. Take 10 min. and go check yours, it could save a life.
Have a safe day
Dave