old variant of 留[liu2]
Phonosemantic compound. 田 represents the meaning and 卯 represents the sound.
《說文》:“畱,止也。从田,丣聲。”