My mac was fucked today.

I was trying to fix my mom Ipad charger and when I plugged it to my mac it turned it off, So i turned it back on and it was charging it. So later on today she brings it back to charge it and When i plug it in there is this pop noise and my computer goes off and my mac will not turn back on