This old but good DeWalt angle grinder starting cutting out while making that gate today.
Noticed it was whenever the cable moved, so it was just a broken wire. Easy fix.
Wire a bit shorter now, new ferrules crimped on and runs fine again. The brushes still have enough life left on them, too.