The best ending ever, for a science fiction book - or any novel, now that I think about it - was in Rendezvous With Rama. You know that you're at the end of the book and yet, there is no resolution. Then he hits you with those last six words. Better yet, the power is in the very last word. Wow!