That's a very important part of an electrical fire. Power must no longer be dissipated via the bad wire before you start trying to extinguish the fire. You don't need to do RCA and repair the cabinet but if you try firefighting first you might be in for a shock.