The grant is repayable immediately, but you should be able to negotiate a gradual repayment plan with Student Finance. They're realistic enough to know that much of your SF will already have been spent on non-refundable accommodation costs. You're not the only person in this situation by a long chalk, so they're used to dealing with it.