Does "register" mean the same thing in these two sentences?

Her surprise did not register.

Register for an election.
different meanings