To haunt someone or appear as a ghost is to spook them.