Transistor switch with capacitive load
To observe a VDS of 5V you must have some way of reducing the voltage across the capacitor to zero. Your circuit has no path for current flow to accomplish that. Try putting a resistor in parallel with the capacitor and you should see VDS change.