A Maui doctor was in custody Wednesday after he allegedly tried to kill his wife by pushing her off a hiking trail and hitting her multiple times on the head with a rock, Honolulu police said.