Does word "hold" have the same meaning in the following two sentences?

Hold these truths to be self-evident.

Hold the bridge against the enemy's attacks.
different meanings