The only free and comprehensive online etymological dictionary of the Spanish language
vacar (Verb) "to temporarily cease one's business or studies;" "to be empty;" (of a store or object) "to be with its owner absent"

From Latin vacare "to be free from duties;" "to be empty." Originally an adjective in Proto-Italic *wako- "empty." From Proto-Indo-European *h1u̯h2-ko- 'id.'

Romance: Western Vulgar Latin: Portuguese vagar, vacar, French vaquer, Italian vacare

Italic: Latin vastus "empty"

Indo-European: Celtic: Old Irish fás "empty;" Germanic: Gothic "," Old Norse "," Old High German wuosti "empty," Old Saxon wōsti 'id.,' Old English wōsti 'id.' (English waste)