The actor said receiving the news about his character getting killed off the CBS show was "an out-of-body experience."