Or remove the headlight assembly?

Battery light came on. Knocking sound showed up 10 minutes later...and then it smelled like an electrical fire. Finally a beep, beep, beep sound lasted for about 30 seconds. The beeping stopped and the battery light went off as I pulled into the dealership. Knocking sound was still present. HORRIFYING

Speakers worked when car was turned off. No sound in any mode when car turned back on. Turned car off again, on again, then speakers worked for a second before quitting. No sound now.