Why does it seem that GPG is waiting for a lock held by a process that does not seem to exist?

Working on a PC running Windows 11 Pro, I’m trying to verify a the signature of a file by running the following command in a GitBash console:

gpg --verify THE_NAME_OF_THE_SIGNATURE_FILE

In response, the following message appears:

gpg: Note: database_open 134217901 waiting for lock (held by 1819) ...

However, when I then run:

ps

The table that is shown contains no row whose PID value is 1819.

Restarting the computer does not help.

How can I resolve this problem?