In osu!'s options menu under Graphics > Layout, there is an option to disable Fullscreen and change your resolution.

If you can't get there (because the screen is black), Try hitting Alt+Enter. Or hold shift while launching osu! to access the recovery menu. From there you can disable fullscreen and change resolution.