Mario Forever Block Party is a fan-made Windows game. Close it like any standard Windows application:
If the game freezes:
If playing a browser/Flash version (legacy), simply close the browser tab.