"startled and afraid." These two phrases mean about the same thing, and are used together to emphasize their fear.
Here it refers to the spirit of a dead person.