Here is one sentence: I beg your pardon. I didn't mean to cause offence.
Here is another sentence: I begged her for release.
Does the term beg mean the same thing in both these sentences?
the same meaning