I read a lot of theories about the ending and all i can say is nobdy really knows cept David Chase.
1 the guy who goes into the bathroom is a throw back to the Godfather
2 Tony dies as he gets to the restaurant and the happy family is a dream as he dies, then the screen goes black
3 Tony is killed at the safe house and everything after like the closure with his uncle and family getting back to normal is a dream
4 The cat follows Paulie because it "caught a rat" - Paulie is a rat who worked with Butchie or whatever his name was from the other family
5 Tony and Bobby talk on the boat about not seeing it coming
6 Livia talks to AJ aout there being nothing after you die
7 something having to do w/ the color orange and use of onion rings

8 members only jacket worn by guy who goes to bathroom is supposed to mean that you 're always a member - cant leave the mob family
9 its all a set up for a movie involving Meadow and AJ with their new careers
10 it's the audience who was shot - we didnt see the ending coming