as it is, while
The particle まま indicates that something remains in its current state, meaning 'as it is' or 'while'.
Examples
靴を履いたまま、部屋に入った。
I entered the room with my shoes on.
このまま、待っていてください。
Please wait as you are.
音楽を聴いたまま、寝ました。
I fell asleep while listening to music.
Quick check
靴を履いた___、部屋に入った。