It can also be used figuratively to describe someone who is stubborn or obstinate, similar to the English idiom "stubborn as a mule".
However, it's important to note that this figurative usage might be considered offensive or rude in some contexts, as it can be seen as a derogatory term.