Rowling has always hinted that Harry will not be available for an eighth book. Any such decision would not be new. The story outline has been fixed since before the publication of the first book.
She has hinted that there might be a book that explores some of the characters a bit deeper.
Arthur Conan Doyle killed off Sherlock Holmes once, but found the pressure too great and brought him back to life.