Aside from Kelvinverse Kirk, have we ever seen a Starfleet captain demoted to a lower rank, yet stayed in Starfleet?
As the title asks, and examples from alpha and beta canon, Prime and Kelvinverse, are all welcome.
Certainly we've seen demotions before, such as Tom Paris going from Lt. to Ensign (and then back to Lt. eventually), and James Kirk going from Admiral to Captain (permanently, as he wanted). We've also seen officers stripped of rank, discharged, or arrested, like Benjamin Maxwell, likely ending his Starfleet career. And the fate of someone like poor Captain Lynne Lucero remains to be seen.
But from the starting point of captain, are there other examples besides Kelvin Timeline Kirk who was demoted from captain (at the start of Into Darkness; of course, he got better) yet remained active in Starfleet after the demotion?