The whale that washed ashore in the Rockaways and died could pose a threat to humans.