When i close Xbmc it reboot my atv2

hi, i have atc2 ver 4.4.3 jailbreaked installed xbmc nightly one it work perfectly my only problem is when i close xbmc it reboot my atv2 anyoe got this problem before thanks for your help