Press and hold the Windows + b keys, and continue to press those keys while you press and hold the power button for 2 to 3 seconds. Recover the BIOS using a key press combination. The BIOS can be corrupted during normal operation from a failed BIOS upgrade, or damage from a virus. I see you are experiencing issues with the HP Pavilion X360 Notebook not booting to windows just stuck in the cycle. Welcome to the HP Support Community! I'd like to help!
Notebook Hardware and Upgrade Questions.