Brazil's former Justice Minister Sergio Moro was knocked out of office by his staff when he resigned on Friday.