The joke is a pun.  To 'stop with a jerk' means to abruptly stop in a way that makes the vehicle shake forward and back.  A mean person can also be called a 'jerk'.
The car stopped with a jerk , then the jerk got out .