This looks like a bug; you’re the first person to report it. The skill tree can be closed by pressing Tab, E, or Esc.