Wiktionary
call it a night
vb. 1 (context idiomatic English) To go to bed to sleep 2 (context idiomatic English) To cease what one has been doing for the night