Unwarily has 2 different meanings across 1 category:
Adverb
without heed or caution
In an unwary manner.