If you sell your shares on Monday from your demat account/holdings (equity based trade), you will be able to withdraw the proceeds on Wednesday evening. (However, 80% of the proceeds from the sale can be used immediately to make new trades).
For F&O, since the settlement cycle is Trade day +1, if you close your position on Monday, you will be able to withdraw the proceeds on Tuesday evening.