Question:
Regarding what it says in Gemara in yoma about sleeping with shoes - is it a problem to doze off on the train, or while learning, while wearing shoes?
Answer:
The poskim say that this doesn’t apply to when one is sleeping “shinas aria” just dozing off or a short nap.
Sources:
Likutei Maharich (Seder Kriyas shema al hamita) pg. 210, Peas sadecha 1-siman 37, Aholecha Bamitecha 12-28 ftnt. 40, Toras Haderech 5-26.