Question: how does a president get impeached but stay in office?
Answer: Most impeachments have concerned alleged crimes committed while in office, though there have been a few cases in which officials have been impeached and subsequently convicted for crimes committed prior to taking office. The impeached official remains in office until a trial is held.