Question: when did gideon leave the bau?
Answer: In the Season 10 episode "Nelson's Sparrow," Gideon is murdered off-screen, having been shot dead at a close range by a serial killer named Donnie Mallick.