Mudh and mundhu always function only as prepositions.

Indeclinable Adverbs — Ghāyāt, Time and Place