Quite a rally for Rumor — a commanding comeback for German shepherds, too.

Rumor was crowned America’s top dog Tuesday night when, a year after a near miss on the very same green carpet, she came out of retirement to win best in show at the Westminster Kennel Club.

Cheered loudly all around the ring by a packed crowd at Madison Square Garden, she’s just the second German shepherd champion at the event that began in 1877.

“Unbelievable,” handler and co-owner Kent Boyles said.

In a year that’s seen lots of late, startling twists in sports — think Patriots, Cubs and Cavaliers — Rumor pulled something of a shocker. She’d been at home in Wisconsin for months, a house pet headed toward having puppies, when she suddenly jumped back into the show ring in January.

Boyles is a fan of the Packers and star quarterback Aaron Rodgers. Seeing a pet go from the couch to this top prize, heck, that’s a dog world Hail Mary.

The 5-year-old Rumor beat out a Norwegian elkhound, a Pekingese, a miniature poodle, an Irish setter, a boxer and a Norwich terrier in the final ring. The Irish setter called Adrian finished second.

“The German shepherd standard talks about quality and nobility,” judge Thomas Bradley III said. “When you recognize it, it hits you at home, and that’s what it really is. She is just magnificent.”

Rumor is named for the hit song “Rumor Has It” by Adele, a champion herself after sweeping the major categories at the Grammy Awards on Sunday.

This was the 104th career win for Rumor, and earlier in the day, Boyles said that this would definitely, for real, be her last major show.

“She’s going to be relaxing for a while,” Boyles…