Inadvertently has 2 different meanings across 1 category:
Adverb
without knowledge or intention
"he unwittingly deleted the references"
Unintentionally; because of an oversight.
"I inadvertently left my keys in the office, so I had to rush back before I could get locked out."