Appearing at a court hearing could be considered consenting to jurisdiction. Some appearances however, such as to challenge jurisdiction or quash service, do not constitute a general appearance. So it depends on what the appearance in court is for.
It depends on whether such an appearance is considered a "general appearance" (e.g., showing up to answer the complaint) or a "special appearance" (e.g., showing up to contest personal jurisdiction over you). While a general appearance is like consenting to jurisdiction--that is, it allows the court to justifiably exercise personal jurisdiction over you--a special appearance does not give the court such jurisdiction (because you are only there for the limited reason of contesting the court's exercise of jurisdiction over you).