from French
panique, from Latin
panicus, from Greek
panikos "pertaining to Pan" - the god of woods and fields who was the source of mysterious sounds, creaking and shrieking, and who liked to cause terror in herds, crowds, and in people in lonely spots.