Does the word "top" have the same definition in the next two sentences?

I don't want to be bald, so just top my hair.

The towers were topped with conical roofs.
different meanings