My 1994 mustang gt v8

i was just drivin my car and it jus died i can get a jump but when i take the cables off it shuts off any body know whats up???