Turns out I just needed to do a little more reading. os._exit(0) is what works.
import time
import keyboard as kb
import sys
import os
def on_hotkey():
print('hotkey')
os._exit(0)
kb.add_hotkey('ctrl + q', on_hotkey )
for i in range(3):
print('Hello')
time.sleep(5)