The correct answer is D. Ctrl + Q.
Ctrl + L is the shortcut key to lock the current window in Tally.
Ctrl + P is the shortcut key to print the current window in Tally.
Ctrl + M is the shortcut key to minimize the current window in Tally.
Ctrl + Q is the shortcut key to quit from Tally.